From owner-freebsd-current@FreeBSD.ORG Mon May 5 14:39:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2844337B401 for ; Mon, 5 May 2003 14:39:45 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C5343FD7 for ; Mon, 5 May 2003 14:39:44 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h45LdhLr046634 for ; Mon, 5 May 2003 23:39:43 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org From: "Poul-Henning Kamp" Date: Mon, 05 May 2003 23:39:43 +0200 Message-ID: <46633.1052170783@critter.freebsd.dk> Subject: HEADSUP: bsdlabel/disklabel changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 21:39:45 -0000 The commit below selects the new "bsdlabel" program instead of the old disklabel program. This hopefully makes the partitioning process more intuitive on BSD label platforms. The hightlights are: * All the "historical" fields are hidden and handled automatically unless -A argument given. You should practically never need -A. * -r argument ignored (to keep scripts working). The "raw" functionality is automatically activated where necessary. * default type for -w is "auto". You can now put a label on a disk simply with "disklabel -w /dev/ad0" Please check the man-page, I have updated it to reflect current reality. Improvements to both program and manual page are most welcome. Poul-Henning In message <200305052128.h45LS8Zk011878@repoman.freebsd.org>, Poul-Henning Kamp writes: >phk 2003/05/05 14:28:08 PDT > > FreeBSD src repository > > Modified files: > sbin Makefile > sbin/bsdlabel Makefile > Log: > Compile bsdlabel on all platforms. > > Install a link to the disklabel(8) name on i386 and alpha platforms. > > Leave old disklabel(8) sources intact but disconnected from the build > for now. > > Revision Changes Path > 1.120 +1 -6 src/sbin/Makefile > 1.15 +10 -0 src/sbin/bsdlabel/Makefile > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.