Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204711

Re: Partition information as text file?

From Richard Hector <richard@walnut.gen.nz>
Newsgroups linux.debian.user
Subject Re: Partition information as text file?
Date 2019-01-27 21:10 +0100
Message-ID <xkYUG-3Sq-11@gated-at.bofh.it> (permalink)
References <xkxhL-3zv-3@gated-at.bofh.it> <xkxhL-3zv-1@gated-at.bofh.it> <xkxUt-42y-1@gated-at.bofh.it> <xkynv-4cJ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 27/01/19 4: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. If the partition contains a
> filesystem, swap area, RAID member or LVM physical volume, these data
> structures use all the partition space.

Not necessarily - eg if you've extended the partition and not the
filesystem, it doesn't. Or if you've shrunk the filesystem and not the
partition. It's probably possible to specify the fs size at creation
time, too, but I've never come across a need for that.

Richard

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Partition information as text file? Jude DaShiell <jdashiel@panix.com> - 2019-01-26 15:40 +0100
  Re: Partition information as text file? Richard Owlett <rowlett@cloud85.net> - 2019-01-26 16:20 +0100
    Re: Partition information as text file? Paul Sutton <zleap@disroot.org> - 2019-01-26 16:20 +0100
    Re: Partition information as text file? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-26 16:50 +0100
      Re: Partition information as text file? Richard Owlett <rowlett@cloud85.net> - 2019-01-26 17:30 +0100
        Re: Partition information as text file? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-26 17:50 +0100
      Re: Partition information as text file? Richard Hector <richard@walnut.gen.nz> - 2019-01-27 21:10 +0100
        Re: Partition information as text file? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-27 21:40 +0100
          Re: Partition information as text file? Richard Hector <richard@walnut.gen.nz> - 2019-01-27 21:50 +0100

csiph-web