freebsd-skq/sys/dev/vinum
Joerg Wunsch e1df235292 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
2003-02-05 21:02:56 +00:00
..
COPYRIGHT
makestatetext
request.h
statetexts.h
vinum.c Finally make vinum ready for the root filesystem in FreeBSD 5.x. (A 2003-02-05 21:02:56 +00:00
vinumconfig.c Make vinum disk-related devices readable by group "operator" to match 2003-01-16 23:47:04 +00:00
vinumdaemon.c Remove unused second argument from DEV_STRATEGY(). 2003-01-03 05:57:35 +00:00
vinumext.h Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
vinumhdr.h Finally make vinum ready for the root filesystem in FreeBSD 5.x. (A 2003-02-05 21:02:56 +00:00
vinuminterrupt.c Remove unused second argument from DEV_STRATEGY(). 2003-01-03 05:57:35 +00:00
vinumio.c Finally make vinum ready for the root filesystem in FreeBSD 5.x. (A 2003-02-05 21:02:56 +00:00
vinumio.h
vinumioctl.c Put use of DIOCWLABEL under #ifdef NO_GEOM 2003-01-26 11:28:56 +00:00
vinumkw.h
vinumlock.c
vinummemory.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
vinumobj.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
vinumparser.c Reduce <sys/disklabel.h> poisoning a bit. 2002-09-20 17:14:48 +00:00
vinumraid5.c
vinumrequest.c Remove unused second argument from DEV_STRATEGY(). 2003-01-03 05:57:35 +00:00
vinumrevive.c revive_block: If we have an I/O error, don't forget to drop the stripe lock. 2002-12-12 01:03:45 +00:00
vinumstate.c Fix new compiler unhappiness. 2002-05-24 06:01:07 +00:00
vinumstate.h
vinumutil.c
vinumutil.h
vinumvar.h Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00