Date: Wed, 5 Feb 2003 13:02:57 -0800 (PST) From: Joerg Wunsch <joerg@FreeBSD.org> To: all-committers@FreeBSD.org, legacy-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf options src/sys/dev/vinum vinum.c vinumhdr.h vinumio.c Message-ID: <200302052102.h15L2vIB010836@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2003/02/05 13:02:57 PST Modified files: sys/conf options sys/dev/vinum vinum.c vinumhdr.h vinumio.c Log: 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 Revision Changes Path 1.373 +1 -0 src/sys/conf/options 1.50 +82 -0 src/sys/dev/vinum/vinum.c 1.28 +1 -0 src/sys/dev/vinum/vinumhdr.h 1.80 +7 -22 src/sys/dev/vinum/vinumio.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302052102.h15L2vIB010836>