diskinfo(1M)
NAME
diskinfo − describe characteristics of a disk device
SYNOPSIS
/etc/diskinfo [-b|-v] character_devicefile
DESCRIPTION
diskinfo 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.
Options
diskinfo recognizes the following options:
-b Return the size of the disk in 1024-byte sectors.
-v Display a verbose summary of all the information available from the device (since the information returned by CS /80 drives and SCSI drives differs, the associated descriptions differ also).
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
diskinfo 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 size of disk and bytes per sector represent formatted media.
DEPENDENCIES
General
diskinfo supports only CS /80, subset/80, and HP SCSI disk devices.
SCSI
The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, diskinfo might be unable to interpret all the data returned by the device. Refer to the drive operating manual accompanying the unit for more information.
AUTHOR
diskinfo was developed by HP.
SEE ALSO
lsdev(1M), mkdev(1M), disktab(4), disk(7).
Hewlett-Packard Company — HP-UX Release 9.10: April 1995