Web lists-archives.com

Re: Partition information as text file?




I had misinterpreted "SIZE  size of the device" in the response
> to "lsblk --help". I did not equate "device" to "partition".
>
> But I still need to know how much of each partition is used/unused.
>
>
Hi

df -h gives you that info

Filesystem      Size  Used Avail Use% Mounted on
udev            1.5G     0  1.5G   0% /dev
tmpfs           299M  4.6M  294M   2% /run
/dev/sda1        28G  9.0G   18G  35% /

Hope this helps


Paul


>
-- 
Paul Sutton
http://www.zleap.net
https://www.linkedin.com/in/zleap/
Twitter : @zleap2018

Attachment: signature.asc
Description: OpenPGP digital signature