GNU bug report logs -
#44273
"total used in directory 19 available 5.2 GiB"
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Wed, 28 Oct 2020 07:21:02 UTC
Severity: minor
Tags: patch, wontfix
Merged with 36729
Found in version 27.0.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #160 received at 44273 <at> debbugs.gnu.org (full text, mbox):
> From: Mattias Engdegård <mattiase <at> acm.org>
> Date: Sun, 1 Nov 2020 12:55:23 +0100
> Cc: Juri Linkov <juri <at> linkov.net>, Eli Zaretskii <eliz <at> gnu.org>, rms <at> gnu.org,
> jidanni <at> jidanni.org, stefankangas <at> gmail.com, 44273 <at> debbugs.gnu.org
>
> 1 nov. 2020 kl. 12.38 skrev Lars Ingebrigtsen <larsi <at> gnus.org>:
>
> > It only displays the space used directly in the current directory, which
> > is (in general) not interesting information. (I.e., it doesn't descend
> > into sub-directories and count the usage there, so in any directory that
> > has a sub-directory, the data is misleading at best.)
>
> Right, and it's worse. Even if we knew exactly the unit used (sectors, kibibytes, imperial qubits), what we get for a subdirectory is still platform-dependent.
>
> Except that it's worse than that. The semantics may vary between file-systems on a single machine.
>
> Except that it's even worse. It may depend on the history of the subdirectory. For instance, it could be the maximum number of disk hardware sectors used for the internal representation of some of the metadata for that directory at any time in the past. (This is probably the original meaning of the number.)
This actually means that this value provides information that is not
directly available in the file sizes. So it is useful.
I find the notion that we should remove from display a useful quantity
just because it might be tricky to interpret in some situation,
especially by people who are not proficient in this stuff. 'ls' shows
it, and Dired isn't supposed to lose stuff that 'ls -al' provides.
This bug report was last modified 3 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.