Date: Thu, 30 Jul 1998 08:16:06 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/dev/vn vn.c src/sys/i386/isa wd.c wfd.c src/sys/kern subr_diskslice.c src/sys/pc98/pc98 wd.c src/sys/scsi od.c sd.c src/sys/sys diskslice.h Message-ID: <199807301516.IAA06125@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/07/30 08:16:06 PDT Modified files: sys/dev/vn vn.c sys/i386/isa wd.c wfd.c sys/kern subr_diskslice.c sys/pc98/pc98 wd.c sys/scsi od.c sd.c sys/sys diskslice.h Log: Added a flags arg to dsopen() and updated drivers. The DSO_ONESLICE and DSO_NOLABELS flags prevent searching for slices and labels respectively. Current drivers don't set these flags. When DSO_NOLABELS is set, the in-core label for the whole disk is cloned to create an in-core label for each slice. This gives the correct result (a good in-core label for the compatibility slice) if DSO_ONESLICE is set or only one slice is found, but usually gives broken labels otherwise, so DSO_ONESLICE should be set if DSO_NOLABELS is set. Revision Changes Path 1.67 +3 -3 src/sys/dev/vn/vn.c 1.173 +2 -2 src/sys/i386/isa/wd.c 1.14 +4 -3 src/sys/i386/isa/wfd.c 1.56 +24 -14 src/sys/kern/subr_diskslice.c 1.60 +2 -2 src/sys/pc98/pc98/wd.c 1.45 +2 -2 src/sys/scsi/od.c 1.138 +2 -2 src/sys/scsi/sd.c 1.26 +10 -5 src/sys/sys/diskslice.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807301516.IAA06125>