![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cpio error. | alisevA3 | UNIX for Dummies Questions & Answers | 1 | 05-03-2006 09:04 AM |
| Please help with cpio on HP-UX | soestx | HP-UX | 3 | 01-13-2006 03:07 PM |
| cpio | kok | UNIX for Dummies Questions & Answers | 2 | 08-12-2004 05:57 AM |
| Help with cpio | rooh | UNIX for Dummies Questions & Answers | 2 | 04-08-2003 03:41 PM |
| cpio | wipro fluid power | UNIX for Dummies Questions & Answers | 2 | 06-18-2001 07:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone.
I'm needing some help with this. I've made some backups on the same tape using cpio. With cpio -civt < /dev/rmt/0un i could see the first backups files, but now i'm getting the next messages <<End of medum on "imput">> <<To continue, type device/file name when ready>>. I really need to see the files on the tape. Any idea? |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
What commands did you use to create the tape? If the device was not set for no-rewind, then you may only have the last backup on there.
Please post OS and version along with the command you used to create the tape. Added note from the man page: If, when writing to a character device (-o) or reading from a character device (-i), cpio reaches the end of a medium (such as the end of a diskette), and the -O and - I options are not used, cpio prints the following message: To continue, type device/file name when ready. To continue, you must replace the medium and type the char- acter special device name (/dev/rdiskette for example) and press RETURN. You may want to continue by directing cpio to use a different device. For example, if you have two floppy drives you may want to switch between them so cpio can proceed while you are changing the floppies. (Simply press- ing RETURN causes the cpio process to exit.) |
|
#3
|
|||
|
|||
|
Thanks for the interest
The tape is set for no-rewind. There’s no problem with that. I’m running on Sun Solaris 8. At the directory containing the files I backed up I made: ls | cpio –oc > /dev/rmt/0un I made mt rew to rewind the tape. Now I’m trying cpio –civt < /dev/rmt/0un to see my files on the tape. There’s where I got the message. |
|
#4
|
||||
|
||||
|
Well I just tried this and I cannot duplicate your problem.
I did: cd one ls | cpio -oc > /dev/rmt/0un cd ../two ls | cpio -oc > /dev/rmt/0un mt rewind cpio -civt < /dev/rmt/0un cpio -civt < /dev/rmt/0un And each of the last two commands gave me a different table of contents. This was on SunOS 5.6. |
||||
| Google The UNIX and Linux Forums |