Re: Strange statistics from gparted
On Mon, 8 Feb 2021 at 22:09, Richard Owlett <rowlett@cloud85.net> wrote:
> Difficult to compare as lsblk reports usage ONLY for mounted partitions
> while gparted reports values for mounted AND unmounted partitions.
The easiest solution will be to mount the partitions of interest
somewhere before examining them with the appropriate tools.
If you are interested in how gparted works, perhaps you might
review your previous question on this topic:
https://lists.debian.org/debian-user/2019/01/msg00910.html
In particular:
https://lists.debian.org/debian-user/2019/01/msg01106.html
https://lists.debian.org/debian-user/2019/01/msg01112.html
shows that gparted was using dumpe2fs.
You can run that tool yourself. Maybe something like:
# dumpe2fs -h /dev/sda1 | grep ^Free
Reply to: