freebsd-nq/sys/dev/vinum
Robert Watson 6d4d944e33 Get Vinum up and running with GEOM:
(1) Use namei() and devfs to discover devices rather than a hard-coded
    MAKEDEV implementation.  Once rootfs is in place, this will allow
    Vinum to be used for the root file system partition.

(2) Pass FREAD to device opens so that GEOM will return sector size
    rather than an error on attempts to read label data.

(3) Avoid clobbering return values from close_drive() and masking this
    failure, resulting in a later divide by zero due to not having
    updated the Vinum-cached sector size.

(4) Ignore failures from DIOCWLABEL as that appears not to be required
    in the GEOM environment.

We've done testing in simple Vinum environments, but those with more
complex environments might want to give this a spin in DP2 and make
sure everything is up to speed.

Fixes in collaboration with:	iedowse
Reviewed by:			grog
2002-10-05 03:44:00 +00:00
..
COPYRIGHT
makestatetext
request.h
statetexts.h
vinum.c
vinumconfig.c Refinement on previous fix for mutex destruction: make sure we don't 2002-10-05 03:33:38 +00:00
vinumdaemon.c
vinumext.h
vinumhdr.h
vinuminterrupt.c
vinumio.c Get Vinum up and running with GEOM: 2002-10-05 03:44:00 +00:00
vinumio.h
vinumioctl.c
vinumkw.h
vinumlock.c
vinummemory.c
vinumobj.h
vinumparser.c
vinumraid5.c
vinumrequest.c
vinumrevive.c
vinumstate.c
vinumstate.h
vinumutil.c
vinumutil.h
vinumvar.h