From owner-freebsd-hackers Wed Sep 3 12:04:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA00418 for hackers-outgoing; Wed, 3 Sep 1997 12:04:02 -0700 (PDT) Received: from iafnl.es.iaf.nl (uucp@iafnl.es.iaf.nl [195.108.17.20]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA00389 for ; Wed, 3 Sep 1997 12:03:57 -0700 (PDT) Received: by iafnl.es.iaf.nl with UUCP id AA14795 (5.67b/IDA-1.5 for hackers@FreeBSD.ORG); Wed, 3 Sep 1997 21:04:10 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.5/8.6.12) id TAA00824; Wed, 3 Sep 1997 19:53:21 +0200 (MET DST) From: Wilko Bulte Message-Id: <199709031753.TAA00824@yedi.iaf.nl> Subject: Re: Tape question To: handy@sag.space.lockheed.com (Brian N. Handy) Date: Wed, 3 Sep 1997 19:53:21 +0200 (MET DST) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Brian N. Handy" at Sep 2, 97 02:19:30 pm X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Brian N. Handy wrote... > Heya folks, > > I've got a guy here who's got a pile of data on exabyte tapes, and he's > written a C program to read the stuff off the tapes and do [mumble I > don't know] with it. > > What follows is his brief description of the problem. If anyone has any > comments or suggestions I'd like to hear them. I can come up with some > sample code if this isn't sufficient. > > Thanks, > > Brian > > ---------- Forwarded message ---------- > The problem is easily described: > > - The Exabyte tapes to be read have a variable (logical) block size, > it typically is 8192 bytes, but often shorter. The only comment is that it should be at least 1kBytes if I remember correctly. > there certainly was a discrepancy between the number of bytes read, > and the number returned. Also, running the program twice on the > same data created different results. Yikes. So much for deterministic computers ;-) Wilko _ ____________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl http://www.tcja.nl/~wilko |/|/ / / /( (_) Arnhem, The Netherlands - Do, or do not. There is no 'try' ----------------------------------------------------------------------Yoda