Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 1996 08:57:25 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        dkelly@hiwaay.net (David Kelly)
Cc:        peter@taronga.com, hackers@freebsd.org
Subject:   Re: Archive Anaconda
Message-ID:  <199604211557.IAA23586@freefall.freebsd.org>
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
David Kelly wrote:
> 
> I wonder if tar and/or dump and/or dd default to the 512 byte blocksize
> reported by mt? Tried a simple "dd if=/dev/tape of=/dev/null" and the tape
> hunted back and forth, back and forth. But when I added "bs=10k" is spooled
> all the way thru the tape.
> 
> How do we determine what blocksize a tape was written with?
> 

	tar uses the native blcksize of the device.
	dd defaults to 512 byte blocks
	dump defaults to 10240 bytes per record in 10 blocks ;)

	there is an interblock gap (ala interframe gap on the network--
	no stones, please.) between the records/blocks.   the gap is
	needed but its just dead tape.  a larger block size minimizies
	this wastage.

Jonathan M. Bresler           FreeBSD Postmaster             jmb@FreeBSD.ORG
FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/



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