unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 6995@debbugs.gnu.org
Subject: bug#6995: 24.0.50; get-free-disk-space doesn't return available space in dired
Date: Tue, 07 Sep 2010 16:36:01 -0400	[thread overview]
Message-ID: <rir5h547gu.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87d3sp5olh.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Tue\, 07 Sep 2010 21\:40\:42 +0200")

Thierry Volpiatto wrote:

> The version of get-free-disk-space doesn't show available space in
> dired, please fix it or revert to 23.2 version.
>
> Actually it show:
> total 10120
>
> instead of:
> total used in directory 9,9M available 24G

Allow me to offer more details:

On my system, where my home directory is NFS mounted,

   df -Pk /home/user

returns

  Filesystem         1024-blocks      Used Available Capacity Mounted on
  /real_directory/home/user 461097104 333392304 127704800      73% /home/user

Because the filesystem name is long, the numerical values do not line
up with the column headings. The current code seems to assume that
they do line up. Thus, running dired on "~" gets wrong values for the
total size. 





  reply	other threads:[~2010-09-07 20:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 19:40 bug#6995: 24.0.50; get-free-disk-space doesn't return available space in dired Thierry Volpiatto
2010-09-07 20:36 ` Glenn Morris [this message]
2010-09-13  6:56   ` Eli Zaretskii
2010-09-13 10:14     ` Stefan Monnier
2010-09-13 13:22       ` Thierry Volpiatto
2010-09-15 18:39         ` Thierry Volpiatto
2010-09-18 13:54           ` Thierry Volpiatto
2010-09-25 20:17   ` Chong Yidong
2010-09-27  8:37     ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rir5h547gu.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=6995@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).