summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2003-02-05 21:02:56 +0000
committerjoerg <joerg@FreeBSD.org>2003-02-05 21:02:56 +0000
commit4e7a2a1e8b5ca1511c5a619a13225b52e1ac7bd9 (patch)
tree9d1a642f7d546e85a510663b002951545e03f4ec /sys/conf
parent2ccf73eb01bcca438145c8d1af38f97eee8e4136 (diff)
downloadFreeBSD-src-4e7a2a1e8b5ca1511c5a619a13225b52e1ac7bd9.zip
FreeBSD-src-4e7a2a1e8b5ca1511c5a619a13225b52e1ac7bd9.tar.gz
Finally make vinum ready for the root filesystem in FreeBSD 5.x. (A
similar patch has been in 4.x for a while, but is more hacky there.) For this to work, vinum has to be loaded early (e. g. from boot/loader), for obvious reasons. If the kernel env variable (aka. loader variable) "vinum.autostart" is set, vinum then asks the sysctl kern.disks for all available disks in the system, and scans them for possible vinum headers. For statically compiled kernels, this behaviour can be obtained even without boot/loader by using "options VINUM_AUTOSTART" (though this is not the recommended way). Alternatively, the 4.x way to specify "vinum.drives" is also supported. No further hacks (like the 4.x "vinum.root" variable) are needed, since in 5.x, mountroot() asks back at the drivers to have them resolve the name of the root FS into a dev_t (using the dev_clone eventhandler). (The MFC reminder below is for a partial MFC for vinum.autostart, the rest is already there in 4.x.) Timed out on: grog MFC after: 2 weeks
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 47e4ec8..4ec220d 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -550,6 +550,7 @@ UKBD_DFLT_KEYMAP opt_ukbd.h
# Vinum options
VINUMDEBUG opt_vinum.h
+VINUM_AUTOSTART opt_vinum.h
# Embedded system options
INIT_PATH opt_init_path.h
OpenPOWER on IntegriCloud