Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: SCSI tape block size Date: 5 Oct 1996 20:35:56 GMT Organization: Private BSD site, Dresden Lines: 29 Message-ID: <536grc$ba@uriah.heep.sax.de> References: <8720ffxq0j.fsf@plm.xs4all.nl> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Peter Mutsaers <plm@xs4all.nl> wrote: > I made a backup on SCSI tape, but now I can't read it because I forgot > the blocksize. Does anyone know how I can see what the blocksize on > the tape is? restore(8) will figure it out by itself. Otherwise, do a: dd if=/dev/rst0 of=/dev/null bs=64k count=1 ...and see what dd tells you: j@uriah 158% dd if=/dev/rst0 of=/dev/null bs=64k count=1 0+1 records in 0+1 records out 32768 bytes transferred in 2 secs (16384 bytes/sec) (Note that 64 KB is the largest blocksize currently supported inside the kernel by physio(), so there's no use in making the parameter above larger.) -- 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. ;-)