From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87d3sp5olh.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283892024 12489 80.91.229.12 (7 Sep 2010 20:40:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 20:40:24 +0000 (UTC) Cc: 6995@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 07 22:40:21 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot4xl-00046m-07 for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Sep 2010 22:40:17 +0200 Original-Received: from localhost ([127.0.0.1]:45812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot4xk-0001cP-Fp for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Sep 2010 16:40:16 -0400 Original-Received: from [140.186.70.92] (port=58357 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot4xc-0001aP-Ia for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2010 16:40:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot4xb-00037y-FR for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2010 16:40:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43142) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot4xb-00037s-DF for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2010 16:40:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ot4sg-0003ej-In; Tue, 07 Sep 2010 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Sep 2010 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6995-submit@debbugs.gnu.org id=B6995.128389164613989 (code B ref 6995); Tue, 07 Sep 2010 20:35:02 +0000 Original-Received: (at 6995) by debbugs.gnu.org; 7 Sep 2010 20:34:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot4rm-0003da-Fn for submit@debbugs.gnu.org; Tue, 07 Sep 2010 16:34:06 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot4rl-0003dA-5o for 6995@debbugs.gnu.org; Tue, 07 Sep 2010 16:34:05 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ot4td-00070z-3A; Tue, 07 Sep 2010 16:36:01 -0400 X-Spook: illuminati MDA Leitrim encryption S Key Tony Blair X-Ran: TB(1ZEANP4ND?0TR:K|Y%'mxi8i}|BkYiHb@",{.3}#&,P=}1mHYT:k8lz4mH8Ik\LgOlm X-Hue: yellow X-Attribution: GM In-Reply-To: <87d3sp5olh.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Tue\, 07 Sep 2010 21\:40\:42 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 07 Sep 2010 16:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40025 Archived-At: 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.