bsdtar doesn't detect end of tape

Oliver Lehmann lehmann at
Wed Sep 22 21:24:37 PDT 2004


I can store more files on tape with bsdtar than I'm able to read back.

root at nudel dds2> tar -c -b 64 -v -f /dev/sa3 .
[writes more files than the tape can handle - w/o an error!!]
root at nudel dds2> tar -x -b 64 -v -f /dev/sa3
x nudel/pics/selftreffen_2001.tar.bz2
x nudel/pics/selftreffen_2002.tar.bz2: (null)
tar: (null)
Exit 1
root at nudel dds2> 

It's not a tape error, it's reproduceable. With gtar i get an "tar, wrote
only 0 bytes out of..." or sth. during the write to tape.

<EXABYTE IBM-8505 807A>            at scbus1 target 3 lun 0 (sa0,pass1)
<ARCHIVE IBM4326NP/RP  !D 5770>    at scbus1 target 4 lun 0 (sa1,pass2)
<HP C1533A A708>                   at scbus1 target 5 lun 0 (sa2,pass3)
<HP C1537A L812>                   at scbus1 target 6 lun 0 (sa3,pass4)

Greetings, Oliver

 Oliver Lehmann

More information about the freebsd-current mailing list