In Linux, is it possible to get a listing of drives' disk space usage that also shows volume labels?

Posted by DavidH on Super User See other posts from Super User or by DavidH
Published on 2012-05-31T20:32:55Z Indexed on 2012/05/31 22:44 UTC
Read the original article Hit count: 187

Filed under:
|
|

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

© Super User or respective owner

Related posts about linux

Related posts about disk-space