summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/bootstrap.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-07-21 00:08:54 +0000
committermsmith <msmith@FreeBSD.org>1999-07-21 00:08:54 +0000
commit22f56109bab1f14a1a0843f99d13408802e847b0 (patch)
tree14a0bc66886d1bd81367b200e253b2e4af5f1c6b /sys/boot/common/bootstrap.h
parent7c71676effa00a366c7a8176221f108e37d74043 (diff)
downloadFreeBSD-src-22f56109bab1f14a1a0843f99d13408802e847b0.zip
FreeBSD-src-22f56109bab1f14a1a0843f99d13408802e847b0.tar.gz
Walk around the end of all the silly guessing of device types and unit
numbers that we have been doing in the past, and read /etc/fstab off the proposed root filesystem to determine the actual device name and vfs type for the root filesystem. These are then exported to the kernel via the environment variable vfs.root.mountfrom.
Diffstat (limited to 'sys/boot/common/bootstrap.h')
-rw-r--r--sys/boot/common/bootstrap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/common/bootstrap.h b/sys/boot/common/bootstrap.h
index 848e74b..1cabf70 100644
--- a/sys/boot/common/bootstrap.h
+++ b/sys/boot/common/bootstrap.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bootstrap.h,v 1.21 1999/04/16 21:21:47 peter Exp $
+ * $Id: bootstrap.h,v 1.22 1999/06/26 12:26:54 peter Exp $
*/
#include <sys/types.h>
@@ -68,6 +68,7 @@ extern int bf_run(char *line);
/* boot.c */
extern int autoboot(int delay, char *prompt);
extern void autoboot_maybe(void);
+extern int getrootmount(char *rootdev);
/* misc.c */
extern char *unargv(int argc, char *argv[]);
OpenPOWER on IntegriCloud