Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 1996 20:24:07 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        dkelly@hiwaay.net (David Kelly)
Subject:   Re: Archive Anaconda
Message-ID:  <199604211824.UAA14779@uriah.heep.sax.de>
In-Reply-To: <v02140b0ead9ffbc2bafa@[206.104.22.146]> from "David Kelly" at Apr 21, 96 10:24:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
As David Kelly wrote:

> How do we determine what blocksize a tape was written with?

By reading one byte, and watching the error message on the console.

j@uriah 161% dd if=/dev/rst0 ibs=1 count=1 of=/dev/null
dd: /dev/rst0: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 2 secs (0 bytes/sec)
Apr 21 20:23:10 uriah /kernel: st0: 32768-byte record too big
Apr 21 20:23:10 uriah /kernel: st0: 32768-byte record too big

:-)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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