Using Your 3.5-Inch Floppy Disk Drive

Operating the Floppy Drive

Transferring Data To and From a Floppy Diskette

This section describes how to transfer data to and from your floppy diskette (saving and restoring) using the HP-UX tar command with your floppy drive’s device file.

The tar command saves files to a floppy diskette, restores files from a floppy diskette, or lists files on a floppy diskette.

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:

1Check that the write-protect tab on the floppy diskette is in the write position.

2Load the formatted floppy diskette into the disk drive.

3In a terminal window, enter the following command line to write to the diskette:

tar -cvfdevicefile pathname

where devicefile is the device file as listed by sam and pathname is the path- name of the file or directory containing files that you want to write to the dis- kette.

Restoring Files from a Floppy Diskette to Your System

Use the following instructions to restore files from a floppy diskette to your system:

1Load the floppy diskette into the disk drive.

2In a terminal window, use the cd command to change to the directory you want the files to reside in:

cd directory_path

where directory_path is the pathname of the directory.

66

Page 84
Image 84
Compaq C160, C240, C180, C200, C360 manual Transferring Data To and From a Floppy Diskette, Saving Files to a Floppy Diskette