FINAL TRIM SIZE : 7.0 in x 8.5 in
5
Testing Your Installation
A simple test to make certain that everything has been installed correctly is to
execute the command
diskinfo
.
1. Make sure a exible disk is inserted in the driv
e (otherwise, a core dump
may result).
2. Type the follo
wing, using the appropriate device le name as the argumen
t.
For example:
diskinfo /dev/rfloppy/c201d0s0
If the disk is installed correctly,
diskinfo
will display a listing of
information ab out it, such as the following:
/dev/rfloppy/c201d0s0
SCSI describe of 0.rdsk:
vendor: TEAC
product id: XXXXXXX
type: direct access
size: 1400000 bytes
bytes per sector: NNN
If you wish to test the installation of your exible disk drive
without
a disk
installed, use the
ioscan
command.
Archiving Files to a Flexible Disk
Data can be stored on exible disk media in a v
ariety of formats. The capacity
of these devices is generally to o small to hold useful HP-UX le systems.
Instead, DOS or LIF le systems are commonly used. Data can also b e stored
in an archive-utility format. For example,
tar
and
cpio
are commonly used to
share data with other HP-UX systems.
See the man pages or
HP-UX Reference
references
dosif
(4) and
lif
(4) for
detailed descriptions of the le systems. For information on
tar
and
cpio
, see
tar
(1) and
cpio
.
Tosave les archivally to a exible disk using
tar
, use a formatted disk and
enter the following command line, where
pathname
is the le directory.
tar -cvf /dev/rfloppy/c201d0s0
pathname
5-16 Configuring HP-UX for Printers and Drives DRAFT
2/5/97 11:31