>On 10/7/05 1:32 PM, Michael Shalayeff ([EMAIL PROTECTED]) wrote:
>> I use a command like:
>> 
>> cpio -o -z -v -F /dev/rst0 < in.lst > out.lst
>> 
>> to perform a backup. But when I attempt to index the tape contents using:
>> 
>> cpio -i -t -v -z -F /dev/rst0
>> 
>> I get:
>> 
>> gzip: /dev/stdin: unrecognized file format
>> cpio: End of archive volume 1 reached
>> Oct  7 11:50:48 sys /bsd: st0: 10-byte record too big
>> Oct  7 11:50:48 sys /bsd: st0: 10-byte record too big
> (snip)
>
>you have to pipe it thru dd.
>tapes work in blocks. gzip is not exactly like that

I don't understand. How do I do that with cpio? cpio doesn't use stdin or 
stdout (except for lists of files and messages) does it? Doesn't "-z" on 
the cpio command line mean Compress/Uncompress archive using gzip(1) 
format.


Joe Szedula
Email: [EMAIL PROTECTED]

Reply via email to