Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 1995 14:08:38 -0700 (PDT)
From:      Steven G Kargl  <kargl@troutmask.apl.washington.edu>
To:        terry@cs.weber.edu (Terry Lambert)
Cc:        nate@trout.sri.MT.net, freebsd-hackers@freefall.cdrom.com
Subject:   Re: new install(1) utility
Message-ID:  <199504042108.OAA05566@troutmask.apl.washington.edu>
In-Reply-To: <9504042035.AA18362@cs.weber.edu> from "Terry Lambert" at Apr 4, 95 02:35:25 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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   |---------------------|



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