*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> diskinfo (1m)              


 diskinfo(1M)                                                   diskinfo(1M)

 NAME    [Toc]    [Back]
      diskinfo - describe characteristics of a disk device

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/diskinfo [-b|-v] character_devicefile

 DESCRIPTION    [Toc]    [Back]
      The diskinfo command determines whether the character special file
      named by character_devicefile is associated with a SCSI or floppy 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           floppy 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    [Toc]    [Back]
      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.  For floppy drives, this
                   option has no effect.

                   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

 WARNINGS    [Toc]    [Back]
      As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in
      particular, will respond to diskinfo inquiries as if they were SCSI
      devices.  Therefore, the text "SCSI describe" in the output of the
      diskinfo command does not definitively mean that the disk is in fact a
      SCSI drive (especially in the case of CD-ROMs).  Use ioscan(1M),
      ioscan -fn, and check which type of INTERFACE node, SCSI or IDE, the
      device's hardware path lies beneath, in order to definitively
      determine a drive's interface.

 DEPENDENCIES    [Toc]    [Back]

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 diskinfo(1M)                                                   diskinfo(1M)

    General    [Toc]    [Back]
      The diskinfo command supports floppy and HP SCSI disk devices.

    SCSI Devices    [Toc]    [Back]
      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    [Toc]    [Back]
      diskinfo was developed by HP.

 SEE ALSO    [Toc]    [Back]
      lsdev(1M), ioscan(1M), disktab(4), disk(7).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
ammgr HP-UX manages the operating characteristics of the disk array
createlabel Tru64 creates a disk label structure for a disk device
ram Linux ram disk device
fd Linux floppy disk device
diskinfo FreeBSD get information about disk device
failover IRIX disk device alternate path support
whatis OpenBSD describe what a command is
whatis IRIX describe what a command is
locale Tru64 Contains one or more categories that describe a locale
attributes HP-UX describe an audio file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service