Skip to content

Instantly share code, notes, and snippets.

@mikecmpbll
Created April 25, 2014 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikecmpbll/3cc849c61987ec68fb81 to your computer and use it in GitHub Desktop.
Save mikecmpbll/3cc849c61987ec68fb81 to your computer and use it in GitHub Desktop.
mike@ubuntu:~$ sudo lshw | grep "disk" -A7
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sda
size: 10GiB (10GB)
capabilities: partitioned partitioned:dos
configuration: sectorsize=512 signature=00044f22
mike@ubuntu:~$ sudo hdparm -I /dev/sda|grep "Model Number:"
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment