From owner-freebsd-current Wed Jun 5 15:47:46 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA12899 for current-outgoing; Wed, 5 Jun 1996 15:47:46 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA12894 for ; Wed, 5 Jun 1996 15:47:44 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by who.cdrom.com (8.6.12/8.6.11) with SMTP id PAA16803 for ; Wed, 5 Jun 1996 15:47:15 -0700 Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id an07399; 5 Jun 96 22:32 GMT Received: from hclb.demon.co.uk ([158.152.8.23]) by relay-3.mail.demon.net id aa29140; 5 Jun 96 22:34 +0100 Received: by hclb.demon.co.uk (Smail3.1.29.1 #1) id m0uRQCu-000670C; Wed, 5 Jun 96 21:33 GMT From: Dave Evans Subject: Re: Standard Shipping Containers - A Proposal for To: freebsd-current@freebsd.org Message-ID: <834035460snx@hclb.demon.co.uk> X-Mailer: cppnews $Revision: 1.43 $ Date: Wed, 05 Jun 96 21:31:00 GMT Lines: 38 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article Richard Wackerbarth writes: > Chuck Robey writes: > > 2) Right now both suffer for the lack of standardization and cross usage. > Neither can convieniently utilize an up-to-date, or partly up-to-date, tree as > a starting point. Ctm does better at this only because of the manual effort of > the distributors. > I've written a program which can be used to repair or update a broken /usr/src tree. I've been using it as a replacement for ctm in day to day use, but it is perfectly capable of using whatever deltas and files on cdroms you have lying around. It will hunt in several places for files, and it is possible to save a /usr/src tree as individual gzipped files in another tree and it will use those as well. The program makes a best effort at patching a file, even those with minor differences to the master ctm source tree ( files on CDROMS are prone to this). It tries all combinations until it finds one that works. As a last resort If none of the patches work, it creates a shellscript which can be used to ftp fresh files from your favourite FTP mirror site. The program can be used as a quick sanity checker to check the health of /usr/src. The more deltas and cdroms you have, the better it works. An index program creates an index of all your deltas. By feeding the index though a grep, awk or perl filter, it is possible to undo as many deltas as you like, although I haven't really tried this much. My /usr/src has never been in a pristine condition good enough for normal ctm to work,, and being on a slow dial up line, I did not want to download a 35 Meg file to get ctm started. With a packet round trip time of up to 20 seconds at times, sup is far too slow to be usable. To obtain the source for the programs, send a blank email message to cm5@hclb.demon.co.uk. You will received a 35 k file within a day or two.