From owner-freebsd-hackers Tue Apr 4 16:44:23 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA26650 for hackers-outgoing; Tue, 4 Apr 1995 16:44:23 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA26644 for ; Tue, 4 Apr 1995 16:44:14 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id PAA08800; Tue, 4 Apr 1995 15:43:34 -0700 From: "Rodney W. Grimes" Message-Id: <199504042243.PAA08800@gndrsh.aac.dev.com> Subject: Re: new install(1) utility To: nate@trout.sri.MT.net (Nate Williams) Date: Tue, 4 Apr 1995 15:43:33 -0700 (PDT) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199504042317.RAA07928@trout.sri.MT.net> from "Nate Williams" at Apr 4, 95 05:17:53 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1430 Sender: hackers-owner@FreeBSD.org Precedence: bulk ... > > not to mention the trouble we have at the moment with > > man pages and that #$%^# gzip.. > > Stolen from email Steven sent to me: > > if ( source.size != target.size || cksum.source != cksum.target ) > Install the new one. > else > /* They're the same, don't bother screwing with the timestamp */ > > We get the added benefit of literally no overhead for the case when the > sizes don't match, and the requirement of the two cksums if they do > match. My guess is the two cksums are faster than the 'cmp' step used > in some of the makefiles. > > And, if we pre-build the compressed man-pages, we can do the comparisons > at install time to determine if they need to be installed or not. This is actually fairly easy to fix, and it should be. Doing the gzip in the installed man page area really trashes my /usr file system!! After a make world I find that my /usr is usually fragmented >2%, before it is under <.5%. Also, I am of the opinion that the only thing being done during the install phase is INSTALLING, not gzipping or otherwize munging files! Almost to the point of having a ${PROG}.stripped rule (you'r cmp thing in install is going to have to compare a stripped version of programs or it will always fail for the standard binary case). -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD