- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio view only
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:16 PM
тАО01-21-2003 12:16 PM
The path I'm using is /dev/rmt/6mb.
Please advice.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:28 PM
тАО01-21-2003 12:28 PM
Re: cpio view only
if it complaints, try
cpio -itvc
if it still complaints, try prepending either command with dd
dd if=/dev/rmt/6mb ibs=204800 | cpio ...
best is to use dd in combination with GNU cpio, which does do the -c detection on read automatically. GNU cpio is available from my ITRC site: http://www.cmve.net/~merijn or https://www.beepz.com/personal/merijn
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:29 PM
тАО01-21-2003 12:29 PM
Re: cpio view only
This will work only if the tape was created using cpio:
cpio -itv < /dev/rmt/6mb
This will only list the contents - not extract them. And you'll probably want to redirect to a file
cpio -itv < /dev/rmt/6mb > /tmp/tape.out
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:30 PM
тАО01-21-2003 12:30 PM
Re: cpio view only
This would also apply for tar
tar -tvf ...
Could also use pax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:30 PM
тАО01-21-2003 12:30 PM
Re: cpio view only
Using cpio to list the entries in a file archive on a tape device:
# cpio -itcvB < /dev/rmt/6mb
Robert-Jan.