Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Look at contents of a tape

Status
Not open for further replies.

maxcrook

Programmer
Jan 25, 2001
210
GB
Im trying to view the contents of an 8mm tape left in one of our rs's.Whats the command to to this ?

device = rmt0 ?
 
Info is missing here.However:

1.If it's a tar tape - use:
tar tvf /dev/rmt0

2.If you do not know the format:

dd if=/dev/rmt0 bs=512 count=6 |strings

This will grep the tape header for any asci info,giving the idea regarding the format.

3.If it's Legato/Veritas - use the related SW gui/commands "Long live king Moshiach !"
 
Also it could be in cpio format in which case type

cpio -icuvBt < /dev/rmt0

which will list the contents. If you want to actually extract from the tape, leave the t out of the params i.e.

cpio -icuvB < /dev/rmt0

LHLTech

IBM Certified Specialist - AIX System Support
Halfway through CATE exams!
 
There is also pax. I tried reading the man page on that one day, it seems like a nice tool. Good luck.
 
If it is a backup or mksysb you could use:

restore -s4 -Tqvf /dev/rmt0.1 Einstein47
(Love is like PI - natural, irrational, endless, and very important.)
 
Thanks it is in cpio format and have now managed to list the files on the tape!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top