From owner-freebsd-hackers Tue Apr 4 14:09:47 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA23481 for hackers-outgoing; Tue, 4 Apr 1995 14:09:47 -0700 Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.97.216]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA23475 for ; Tue, 4 Apr 1995 14:09:46 -0700 Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.6.11/8.6.9) id OAA05566; Tue, 4 Apr 1995 14:08:38 -0700 From: Steven G Kargl Message-Id: <199504042108.OAA05566@troutmask.apl.washington.edu> Subject: Re: new install(1) utility To: terry@cs.weber.edu (Terry Lambert) Date: Tue, 4 Apr 1995 14:08:38 -0700 (PDT) Cc: nate@trout.sri.MT.net, freebsd-hackers@freefall.cdrom.com In-Reply-To: <9504042035.AA18362@cs.weber.edu> from "Terry Lambert" at Apr 4, 95 02:35:25 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1510 Sender: hackers-owner@FreeBSD.org Precedence: bulk According to Terry Lambert: > > > > Hmmm... this could produce a decent timesavings. > > > > Yes, this would in effect do the same thing as the -t option you have > > now and save a tremendous amount of re-linking of files since the > > timestamps would not change. > > Bah humbug. > > The problem is improper dependency graphs in the makefile. > > And jamming make-like dependency capability into install is a > cockamamy way to fix it. > > Much better (if one must hack on install) to cause intermediately > created directories when installing a target to be owned by the > specified user and group instead of being owned by the installer > (hint: this would fix a number of X install problems). > I usually understand about 50% of your postings, but I must really be missing the boat here. How can the creation of an intermediate (temporary) directory, a chown operation on the directory, installation of the file(s) to the intermediate directory, finally installing the file(s) from the intermediate directory to their ultimate destination, and deleting the temporary directory improve the performance of install? I believe Nate (and I) is trying to avoid the (unnecessary) installation procedure if the target file already exists and the source and target are the same. -- Steven G. Kargl | Phone: 206-685-4677 | Applied Physics Lab | Fax: 206-543-6785 | Univ. of Washington |---------------------| 1013 NE 40th St | FreeBSD 2.1-current | Seattle, WA 98105 |---------------------|