1
I know about df, of course, but df does not output volume labels. I have 5 USB hard drives plugged into my NAS box, and would love to know which is which.
Current df output:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 27G 2.2G 24G 9% /
none 56M 476K 55M 1% /dev
none 60M 0 60M 0% /dev/shm
none 60M 332K 59M 1% /var/run
none 60M 0 60M 0% /var/lock
none 60M 0 60M 0% /lib/init/rw
/dev/sde1 150G 102G 48G 68% /media/usb0
/dev/sdb1 299G 196G 103G 66% /media/usb1
/dev/sdc1 233G 183G 51G 79% /media/usb2
/dev/sdd1 233G 209G 25G 90% /media/usb3
/dev/sdf1 150G 101G 49G 68% /media/usb4
Have you looked into using
fdisk -l
? – PenguinCoder – 2012-05-31T20:44:46.873Strangely, fdisk -l isn't showing me any volume labels. It is giving me lots of nice info about partitions, though... – DavidH – 2012-05-31T23:05:42.507