Date: Sat, 28 Oct 2000 18:58:56 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_diskslice.c src/sys/sys disklabel.h src/sbin/disklabel disklabel.8 disklabel.c Message-ID: <200010290158.SAA71177@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2000/10/28 18:58:56 PDT
Modified files: (Branch: RELENG_4)
sys/kern subr_diskslice.c
sys/sys disklabel.h
sbin/disklabel disklabel.8 disklabel.c
Log:
Implement a new ioctl, DIOCGDVIRGIN, which returns a virgin disklabel for
a disk device or slice.
Fix the disklabel program to use the new ioctl rather then DIOCGDINFO when
being asked to install a new label with 'auto'. If the new ioctl fails,
disklabel will revert to DIOCGDINFO.
Update the disklabel documentation
This allows disklabel to initialize new virgin 'auto' labels on slices.
Revision Changes Path
1.82.2.1 +35 -1 src/sys/kern/subr_diskslice.c
1.49.2.3 +2 -1 src/sys/sys/disklabel.h
1.15.2.2 +139 -31 src/sbin/disklabel/disklabel.8
1.28.2.4 +12 -5 src/sbin/disklabel/disklabel.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010290158.SAA71177>
