Web lists-archives.com

Re: Partition information as text file?




On 01/26/2019 01:32 PM, Felix Miata wrote:
Richard Owlett composed on 2019-01-26 08:32 (UTC-0600):

I am attempting to create a spreadsheet to document the content of
multiple disks of multiple machines.

Gparted displays the desired information.
*HOWEVER* I see no way to capture the information.

At the command line using "lsblk -o NAME,FSTYPE,LABEL /dev/sdb" gives
most of the desired information.

It omits partition size, used space, and unused space.

Suggestions?

I don't use a spreadsheet.

I was using "spreadsheet" in the most possible generic way ;/

I use the logs automatically created by the non-FOSS
partitioner I use, DFSee.

My goal is more "report on reality" rather than "create a reality".

Various examples of its logs are here:

	http://fm.no-ip.com/Tmp/Dfsee/

http://fm.no-ip.com/Tmp/Dfsee/gb250L04.txt is from GPT partitioning for UEFI.

I _quickly_ browsed those sites.
I don't think they were attempting to *ANSWER* "my questions".


The gb250 is the hostname. The L04 is serialization of the report's creation. It's
content is reduced to that which I find useful data for tracking what's where among
my 100+ disks.

Sometimes I append output from lsblk or parted -l.

hdparm and smartctl might also provide some of what you're looking for.


I'll attempt to redefine my problem.

I have:
  multiple machines
each having
  multiple disks
each having
  multiple partitions.

I wish to inventory the above "conglomeration".

I wish to to answer the question(s):
  How big is each
  How much is available

OWL now DUCKS fer cover ;/