coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add --dereference option to df


From: Bernhard Voelker
Subject: Re: Add --dereference option to df
Date: Thu, 05 Dec 2013 14:21:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 12/04/2013 02:25 PM, Pádraig Brady wrote:
> Pushed.

Hi Padraig,

oops, there was another user-visible change with v8.21-172-g33660b4:

df now also works better with relative paths to the source
device, e.g.:

  $ cd /dev/ && df-8.21 sdb
  Filesystem     1K-blocks  Used Available Use% Mounted on
  devtmpfs         1014572    48   1014524   1% /dev

  $ cd /dev/ && df-new sdb
  Filesystem     1K-blocks    Used Available Use% Mounted on
  /dev/sdb        10190136 6039532   3609932  63% /home

This seems to be valid for POSIX compliance, but contradicts
our TEXI documentation.  I'd suggest something like this:

-     If an argument FILE is an absolute name of a disk device node
+     If an argument FILE resolves to a special file
   containing a mounted file system, `df' shows the space available on that
   file system rather than on the file system containing the device node.

And as this was a user-visible change, it should probably
be mentioned in the NEWS file.  WDYT?

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]