From owner-cvs-all Sat Oct 28 18:59: 4 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D0FC937B4D7; Sat, 28 Oct 2000 18:58:56 -0700 (PDT) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA71177; Sat, 28 Oct 2000 18:58:56 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Message-Id: <200010290158.SAA71177@freefall.freebsd.org> From: Matt Dillon Date: Sat, 28 Oct 2000 18:58:56 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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