GNU bug report logs - #44273
"total used in directory 19 available 5.2 GiB"

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Mattias Engdegård <mattiase <at> acm.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: rms <at> gnu.org, jidanni <at> jidanni.org, stefankangas <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, Juri Linkov <juri <at> linkov.net>, 44273 <at> debbugs.gnu.org
Subject: bug#44273: "total used in directory 19 available 5.2 GiB"
Date: Sun, 1 Nov 2020 12:55:23 +0100
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 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.