[comp.unix.questions] Tape drive help..

palkovic@zippy.fnal.gov (John A. Palkovic) (01/30/91)

In article <939@bozo.megatek.uucp> donb@megatek.UUCP (Don Bontemps) writes:

   Got a couple of questions concerning tape drives.  How do you go
   about formatting a blank tape on a SUN SPARC station?  When the

You don't. Just stick it in the drive and go.

   tape is formatted, how do you copy files from the internal hard
   disk to the tape drive (I think it's the tar command, but not sure)?

You can use tar(1) or dd(1) or cpio(1) or ... To tar all the files in
the current directory (and its sub-dirs):

	tar cf /dev/rst0 .
			 ^ this is part of the command, don't forget it.

should work on a SUN SPARC station. You also use tar to extract the
files from the tape onto the disk. RTFM.