Linux Scroll

Just another site


diskinfo – describe characteristics of a disk device

/usr/sbin/diskinfo [-b|-v]

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

# diskinfo -b

-b Return the size of the disk in 1024-byte sectors.

# diskinfo -v

-v Display a verbose summary of all of the information available from the device.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: