From owner-cvs-all Fri Jul 21 7: 7: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (Postfix) with ESMTP id D1C8737BAFF; Fri, 21 Jul 2000 07:06:54 -0700 (PDT) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.3/8.9.1) with ESMTP id KAA53989; Fri, 21 Jul 2000 10:06:45 -0400 (EDT) (envelope-from louie@whizzo.transsys.com) Message-Id: <200007211406.KAA53989@whizzo.transsys.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Dag-Erling Smorgrav Cc: Will Andrews , Marcel Moolenaar , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" Subject: Re: cvs commit: src Makefile.inc1 References: <200007192248.PAA23393@freefall.freebsd.org> <20000720233008.G28456@argon.gryphonsoft.com> In-reply-to: Your message of "21 Jul 2000 10:54:03 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Jul 2000 10:06:45 -0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Will Andrews writes: > > On Thu, Jul 20, 2000 at 08:57:28AM +0200, Dag-Erling Smorgrav wrote: > > > This is arguably a bug in install(1), which should have an option to > > > save a backup copy. > > > > Umm, what about this: > > > > -c Copy the file. This flag turns off the default behavior of > > install where it deletes the original file after > > creating the target. > > > > Or perhaps I'm missing the point. :-( > > You are. Normally, install(1) moves the original file to its > destination. The -c option makes it leave the original in place, but > it still overwrites the destination. I want an option to make > install(1) make a backup of the destination file before overwriting > it. I seem to have a dim memory of install(1) on some system I used to use having a -u option to unlink the destination before installing to avoid the overwriting problem. Perhaps renaming and unlinking on success would be better. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message