NAME
diskinfo — describe characteristics of a disk device
SYNOPSIS
/usr/sbin/diskinfo
[-b|-v]
character_devicefile
DESCRIPTION
The
diskinfo
command determines whether the character special file named by
character_devicefile
is associated with a
SCSI, CS/80, or Subset/80 disk drive. If so,
diskinfo
summarizes the disk's characteristics.
The
diskinfo
command displays information about the following characteristics
of disk drives:
- Vendor name
Manufacturer of the drive (SCSI
only)
- Product ID
Product identification number or
ASCII
name
- Type
CS/80 or
SCSI
classification for the device
- Disk
Size of disk specified in bytes
- Sector
Specified as bytes per sector
Both the size of disk and bytes per sector represent formatted media.
Options
The
diskinfo
command recognizes the following options:
- -b
Return the size of the disk in 1024-byte sectors.
- -v
Display a verbose summary of all of the information
available from the device. (Since the information returned by
CS/80 drives and
SCSI
drives differs, the associated descriptions also differ.)
CS/80 devices return the following:
Device name
Number of bytes/sector
Geometry information
Interleave
Type of device
Timing information
SCSI
disk devices return the following:
Vendor and product ID
Device type
Size (in bytes and in logical blocks)
Bytes per sector
Revision level
SCSI conformance level data
DEPENDENCIES
General
The
diskinfo
command supports only
CS/80,
subset/80, and
HP SCSI
disk devices.
SCSI Devices
The
SCSI
specification provides for a wide variety of device-dependent formats.
For non-HP
devices,
diskinfo
may be unable to interpret all of the data returned by the device.
Refer to the drive operating manual accompanying the unit
for more information.
AUTHOR
diskinfo
was developed by
HP.