1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/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 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
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
vinumparser.c Reduce <sys/disklabel.h> poisoning a bit. 2002-09-20 17:14:48 +00:00
vinumraid5.c
vinumrequest.c
vinumrevive.c
vinumstate.c
vinumstate.h
vinumutil.c
vinumutil.h
vinumvar.h