From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 02:31:23 2004 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 9782316A4CE; Fri, 4 Jun 2004 02:31:23 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D7BD43D2F; Fri, 4 Jun 2004 02:31:23 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i549cZZ9029392; Fri, 4 Jun 2004 03:38:35 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40C0414F.4040108@freebsd.org> Date: Fri, 04 Jun 2004 03:30:55 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <20040604092313.GA12314@ip.net.ua> In-Reply-To: <20040604092313.GA12314@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: current@freebsd.org Subject: Re: Can the disklabel(8) link go now? 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: Fri, 04 Jun 2004 09:31:23 -0000 My vote is 'not right now'. disklabel is a very fundamental command to BSD, so if you intend to remove it then I suggest that you do the following: 1. Mark it as 'deprecated' everywhere. All documentation, manual pages, etc. If you can make it so that an invocation of 'disklabel' prints out a deprecation warning, that would be good also. 2. After 5-STABLE branches, remove it from HEAD. 3. Leave it in 5-STABLE until EOL. Scott Ruslan Ermilov wrote: > Gang, > > I'd like to remove the old compatibility link from bsdlabel(8) > to disklabel(8). I think the dust has settled enough to allow > this to be done now (and before 5.3-RELEASE): > > %%% > Index: Makefile > =================================================================== > RCS file: /home/ncvs/src/sbin/bsdlabel/Makefile,v > retrieving revision 1.19 > diff -u -r1.19 Makefile > --- Makefile 11 Jan 2004 09:11:10 -0000 1.19 > +++ Makefile 4 Jun 2004 09:20:31 -0000 > @@ -8,17 +8,16 @@ > #MAN= bsdlabel.5 > MAN+= bsdlabel.8 > > -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha" || \ > - ${MACHINE_ARCH} == "amd64" > -LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel > -MLINKS= bsdlabel.8 disklabel.8 > -.endif > - > DPADD= ${LIBGEOM} > LDADD= -lgeom > > .include > > +afterinstall: > +.if exists(${DESTDIR}${BINDIR}/disklabel) > + rm -f ${DESTDIR}${BINDIR}/disklabel > +.endif > + > test: ${PROG} > sh ${.CURDIR}/runtest.sh > > %%% > > What do you think? > > > Cheers,