beautypg.com

HP 2240 User Manual

Page 89

background image

4-8

Formatting a New Diskette

You must always format a new floppy diskette with the mediainit
utility before using it. To format a new floppy diskette follow these
steps:

1.

Log in as root.

2.

Make sure that the write-protect tab on the floppy diskette is in
the write position, as shown in Figure 4–1.

3.

Insert the diskette into the floppy disk drive.

4.

In a terminal window, execute mediainit with an interleave of 2
by entering the following:

mediainit –i 2 devicefile

Enter

where devicefile is the device file as listed by sam.

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.

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.

The tar (tape file archiv-
er) command saves files
to a floppy diskette, re-
stores files from a floppy
diskette, or lists files on
a floppy diskette.