cpio confusion

2007-12-24 20:11:00

from the cpio command:

find *[0-9]*/oradata/* -print|eval $EG|cpio -ocvdumC
65000 > $DEV

where DEV=/dev/rmt/0m

i'm trying to see what is on this tape, if anything.
when i execute:

cpio -icvdumC 65000 < $DEV

it wants me to add the device/name for input, when i
add /dev/rmt/0m it stops and returns:

end of medium

does this mean that there is nothing on the tape?

cpio -oC 65000 -O /tmp/out1 < $DEV

returns:

TRAILER!!!

this definitely looks like an empty tape.

rf

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/

Comments

Got something to say?

You must be logged in to post a comment.