Web lists-archives.com

Re: Partition information as text file?




lsblk >>lsblk.txt
On Sat, 26 Jan 2019, Richard Owlett wrote:

> Date: Sat, 26 Jan 2019 09:32:28
> From: Richard Owlett <rowlett@xxxxxxxxxxx>
> To: debian-user <debian-user@xxxxxxxxxxxxxxxx>
> Subject: Partition information as text file?
> Resent-Date: Sat, 26 Jan 2019 14:33:38 +0000 (UTC)
> Resent-From: debian-user@xxxxxxxxxxxxxxxx
>
> 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?
> TIA
>
>
>

--