3 ms·
This only shows a single disk. I find it weird that despite having a bunch of options to control output and even filter things, df does not have an option to s
by badsectoracula 2y ago
This only shows a single disk.
I find it weird that despite having a bunch of options to control output and even filter things, df does not have an option to specify "show me only physical block devices and only once (my /dev/sda4 shows up for various mountpoints but still all show the same size/used/avail values)".
- bheadmaster 2y agoIn that case, you can use "-t ext4" (or whatever filesystem type you use) to show only disks formatted with this filesystem type. On my machine, none of the snap/tmpfs/efivars stuff shows up: user@hostname:~$ df -ht ext4 Filesystem Size Used Avail Use% Mounted on /dev/sdc 1007G 49G 908G 6% /