[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partition information as text file?



Le 26/01/2019 à 17:28, Richard Owlett a écrit :
On 01/26/2019 09:45 AM, Pascal Hambourg wrote:
Le 26/01/2019 à 16:12, Richard Owlett a écrit :
On 01/26/2019 08:36 AM, Jude DaShiell wrote:
lsblk >>lsblk.txt

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.

Usually, all of a partition is used.

HUH??
Either we are using terms differently OR I'm weird OR both ;

Probably. When you write "partition", you actually mean "filesystem".
These are two distinct things. A partition is just a raw block device which does not know what is is used for. A filesystem is a data structure.

I'm explicitly wish the information Gparted displays for each partition of a physical device.

The column titles are "Partition", "File System", "Label", "Size", "Used", "Unused", and "Flags".

I need all but the last as text.

And Gparted has no problem displaying the information independent of being mounted or not.

Yes it does. I have seen it display wrong size information about unmounted partitions.


Reply to: