From owner-freebsd-current Sun Mar 5 01:02:32 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA29961 for current-outgoing; Sun, 5 Mar 1995 01:02:32 -0800 Received: from gate.sinica.edu.tw (gate.sinica.edu.tw [140.109.14.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id BAA29955 for ; Sun, 5 Mar 1995 01:02:24 -0800 Received: by gate.sinica.edu.tw (5.0/SMI-SVR4) id AA21015; Sun, 5 Mar 1995 17:00:41 --800 Date: Sun, 5 Mar 1995 16:57:17 +0800 (CST) From: Brian Tao Subject: Re: pkg_add/delete bug? To: FreeBSD-current users In-Reply-To: <199503050812.JAA07677@uriah.heep.sax.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII content-length: 634 Sender: current-owner@FreeBSD.org Precedence: bulk On Sun, 5 Mar 1995, J Wunsch wrote: > > Before Terry jumps in and proposes us again to store a copy of any > executable in swap :^), well, perhaps pkg_add should simply use > install(1) to install the binary? This is supposed to take care of > ETXTBSY (by renaming/unlinking the old binary). This would keep things neater, since you just have to tell 'install' to handle stuff like permissions, owner/group and file flags. What does it use now? Just a combination of cp, mv, chown, chmod, etc.? -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org