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: Eli Zaretskii <eliz <at> gnu.org>
Cc: rms <at> gnu.org, jidanni <at> jidanni.org, stefankangas <at> gmail.com, larsi <at> gnus.org, 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 17:37:31 +0100
1 nov. 2020 kl. 16.51 skrev Eli Zaretskii <eliz <at> gnu.org>:

> It isn't: that value shows the total disk space allocation, i.e. the
> file sizes are rounded up to the nearest disk block size.

It's often not even the disk block size (frequently 512 or 1024 byte regardless of the block size), and in any case that rounding does not add any valuable information.

>> but the 'file size' of a subdirectory is practically impossible to interpret in a useful way.
> 
> We are not talking about file sizes, we are talking about the "total
> NNN" part.

The 'file size' of all displayed subdirectory entries are included in that number, which makes it even more difficult to interpret.

If the size field of each displayed entry could be accurately located and parsed, then that could be used to compose a more useful and defensible 'total' number. However this does not appear likely given the variation in locales, implementations and user-supplied options.

Given the opposition to removing the field, I propose that this bug be closed with wontfix (again). Let's use our time more productively.





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.