Original Question:
I've an off-the-wall question for the UNIX guru's on the mailing list. OK,
here goes. Being very unfamiliar with the specifics of how tar and tape
devices inter-relate, I was wondering if there is a way to dump the entire
contents of a tape onto a hard disk for backup onto a CD or just some other
media WITHOUT untarring the files. I realize that untarring and retarring
doesn't do anything to the contents of files, but I was just wondering if it
is possible? If not, I'll write a shell script or do command prompt to pipe
the result of untar to a new tar file...
Thanks for your time admins!
Solution:
The dd program allows you to dump from a device (hmmmm... I wonder where the
name dd came from... ha! ) The proper syntax for the command to do this is
...
dd if=/dev/rmt0h of=/big-file-system/fileset.tar bs=10240
Taking into consideration block size of both input and output and the output
file name...
People who have earned a self-administered pat on the back in no particular
order:
Mehall, Michael R. [michael_r_mehall_at_md.northgrum.com]
Hines, Bruce D [bruce.hines_at_eds.com]
George Gallen [ggallen_at_slackinc.com]
alan_at_nabeth.cxo.cpqcorp.net
Heinz-Hermann Adam [adamh_at_nwz.uni-muenster.de]
Robert M. Lang [lang_at_isis.mit.edu]
Oisin McGuinness [oisin_at_sbcm.com]
Haesaerts, Corinne [Corinne.Haesaerts_at_compaq.com]
Greg Freemyer [freemyer_at_NorcrossGroup.com]
Davis, Alan [Davis_at_tessco.com]
Frank Wortner [frank_at_bondnet.com]
Received on Mon Dec 03 2001 - 19:53:53 NZDT