Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Archive::tar tape0

by starbolin (Hermit)
on Jun 14, 2008 at 05:32 UTC ( #692055=note: print w/replies, xml ) Need Help??


in reply to Archive::tar tape0

Tar reads and writes to the tape device by default (compiled-in device) specifying  tar -tf tape0 on the command line attempts to extract the tar file "tape0" in the current directory to stdout. To see the archive contents from the tape:  tar -t. To extract from the tape onto disk:  tar -x. If tar doesn't see the tape for some reason then using the -f switch with the full device path  tar -tvf /dev/tape0 may work or it may not work depending on whether /dev/tape0 is a valid block device on your system. One problem is that you may have to set the correct blocksize to avoid an error. Try a blocksize of 20. If all else fails you may need to delve into the driver code for your particular tape drive to see what parameters it expects.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Replies are listed 'Best First'.
Re^2: Archive::tar tape0
by Anonymous Monk on Jun 17, 2008 at 17:18 UTC
    Thanks apl, jethro, and starbolin. I still cannot communicate with the tape drive with Archive::Tar or GNU tar; but I installed cygwin and can do this:
    mount -s -f -b //./tape0 /dev/st0 tar -cf /dev/st0 *
    That's solution enough for me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://692055]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2022-10-02 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (7 votes). Check out past polls.

    Notices?