On Monday 26 December 2005 19:19, Marco wrote: >Hi all, > >I write a file on DAT with this command: > >tar -rf /dev/st0 /backup/* >> /file.log > >How to check that the file is write correctly on DAT? > >I have found on the tar manual, -W option, but this option >work correctly with my DAT (HP DAT 72 GB)??? > >Help!!! > >Thanks >Marco
What version of tar? 1.14 is known to be busted, 1.13-19 and 1.13-25 are ok, as is 1.15-1. To check, rewind the tape, then use something like: #>dd -f=/dev/nst0 |tar -t -(or whatever option tells tar to read the TOC) for a quick listing, or if you have room on /tmp, change the -t to xf or if gziped, 'xzf -'. The final - tells tar to take its input from stdin where the | symbol puts it. Man tar is your friend. -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]