HP (Hewlett-Packard) workstation Personal Computer User Manual


 
7-32
Using Mass Storage Devices
Operating the Floppy Drive
You need to set the write protect tab to the write position to transfer data to
the diskette. The write-protect tab can be in either position when restoring
data from a diskette or listing the files on a diskette.
Saving Files to a Floppy Diskette
Use the following instructions to save files to a floppy diskette:
1 Check that the write-protect tab on the floppy diskette is in the write po-
sition.
2 Load the formatted floppy diskette into the disk drive.
3 In a terminal window, enter the following command line to write to the
diskette:
tar -cvf devicefile pathname Enter
where devicefile is the device file as listed by sam and pathname is the
pathname of the file or directory containing files that you want to write to
the diskette.
Restoring Files from a Floppy Diskette to Your System
Use the following instructions to restore files from a floppy diskette to your
system:
1 Load the floppy diskette into the disk drive.
2 In a terminal window, use the cd command to change to the directory you
want the files to reside in:
cd directory_path Enter
where directory_path is the pathname of the directory.