freebsd-dev/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 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vinumconfig.c Refinement on previous fix for mutex destruction: make sure we don't 2002-10-05 03:33:38 +00:00
vinumdaemon.c Don't use "NULL" when "0" is really meant. 2002-08-21 23:39:52 +00:00
vinumext.h Reduce <sys/disklabel.h> poisoning a bit. 2002-09-20 17:14:48 +00:00
vinumhdr.h Retire the bogus uses of the disklabel field d_sbsize and begin to 2002-05-12 20:49:41 +00:00
vinuminterrupt.c
vinumio.c Get Vinum up and running with GEOM: 2002-10-05 03:44:00 +00:00
vinumio.h
vinumioctl.c Retire now unused DIOCGDVIRGIN kludge. 2002-09-20 09:31:14 +00:00
vinumkw.h
vinumlock.c
vinummemory.c
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 "Fixed" printf format errors (64-bit daddr_t casualties; should use %jx 2002-05-25 11:12:30 +00:00
vinumrevive.c Fix new compiler unhappiness. 2002-05-24 06:01:07 +00:00
vinumstate.c Fix new compiler unhappiness. 2002-05-24 06:01:07 +00:00
vinumstate.h
vinumutil.c
vinumutil.h
vinumvar.h