Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 21:57:28 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.ORG>, Daniel Eischen <eischen@pcnet1.pcnet.com>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, FreeBSD-current@FreeBSD.ORG
Subject:   Re: Removing old binaries
Message-ID:  <p05111724b9c7e8a1bc14@[128.113.24.47]>
In-Reply-To: <20021008012532.GF57557@wantadilla.lemis.com>
References:  <20021008010539.GE57557@wantadilla.lemis.com> <Pine.GSO.4.10.10210072112020.8423-100000@pcnet1.pcnet.com> <20021008012532.GF57557@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:55 AM +0930 10/8/02, Greg 'groggy' Lehey wrote:
>On Monday,  7 October 2002 at 21:18:10 -0400, Daniel Eischen wrote:
>  > On Tue, 8 Oct 2002, Greg 'groggy' Lehey wrote:
>  >> On Monday,  7 October 2002 at 20:07:37 -0400, Daniel Eischen wrote:
>  >>> I don't think doing this by default is a good idea.  Sometimes I
>>>>  like to preseve previous versions of things, knowing that they
>  >>> work.
>>>
>>>  Nothing's stopping you saving them first..
>>
>>  In the same directory.
>
>Nothing's stopping you doing whatever you want, ultimately.  I'm
>looking for the solution to the 99% case.

If we are talking about something which will be run, by default,
for every person every time they do a 'make installworld', then I
think that solution must be a more user-friendly.  You're trying to
solve a problem where you got an out-of-date man page.  That is
hardly a crisis.  I'm trying to avoid the problem where 'installworld'
blows away some important file on a user -- when it had absolutely
no need to blow that file away.

How about for each directory, if there are old files found in the
directory then create a ".OLDINSTALL" sub-directory, and move the
files into there (instead of removing them).  And, of course, avoid
descending into those .OLDINSTALL directories...

Or, if there is a directory called '/buildbak', then move old files
from (say) /usr/bin into /buildbak/usr/bin.  Something like that.
I just want something less destructive.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05111724b9c7e8a1bc14>