From owner-freebsd-questions Tue Aug 6 11:22:13 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06711 for questions-outgoing; Tue, 6 Aug 1996 11:22:13 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA06705 for ; Tue, 6 Aug 1996 11:22:11 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id ah05632; 6 Aug 96 18:21 GMT Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa12038; 6 Aug 96 19:11 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id KAA01620; Tue, 6 Aug 1996 10:30:38 GMT From: James Raynard Message-Id: <199608061030.KAA01620@jraynard.demon.co.uk> Subject: Re: perhaps i am just stupid. To: Don Yuniskis Date: Tue, 6 Aug 1996 10:30:38 +0000 () Cc: questions@freebsd.org In-Reply-To: <199608060006.RAA12303@seagull.rtd.com> from "Don Yuniskis" at Aug 5, 96 05:06:50 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > cat bin.* | gzip -t - is nice and easy, but requires a fully > > functioning Unix box... > > I was thinking of just 'cksum bin.*' since I would *assume* that > the cksums, once correct, would indicate a "good" file... Actually, now that I think about it, I vaguely remember FreeBSD-1.0.2 doing this before extracting them. (On the other hand, it also required you to copy everything onto the hard disk from floppies, extract them by hand and reboot twice, so let's not get too nostalgic :-) I can see problems fitting this into the download-and-extract-on-the-fly scheme of things. For instance, if you're downloading over a modem, and bin.aa is corrupted, would you really want to have to wait until everything up to bin.cx has come down before finding it out? (Especially if it's some sort of systematic error and every file you've spent the last two hours downloading is corrupt...) > > Although I believe both these utilities have been ported to DOS. > > Perhaps someone with the time and inclination could knock up a > > batch file to do this? gzip.exe is already on the CDROM and I > > don't see any reason why cat.exe couldn't be added. > > how about: > cksum *.* > fudge > comp fudge goodsums.lst > but, of course, that would require the user to have *all* the > files listed in "goodsums.lst" online. Also, you'd have to create Or have a separate checksum file for each dist. > an entry for goodsums.lst in the goodsums.lst file itself! And, > since DOS will create fudge before completely expanding the *.* > in the cksum command, you need to take it into consideration, also. Or put fudge and goodsums.lst in a different directory?