[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
- Re: Add --dereference option to df, Pádraig Brady, 2013/12/03
- Re: Add --dereference option to df, Bernhard Voelker, 2013/12/03
- Re: Add --dereference option to df, Pádraig Brady, 2013/12/03
- Re: Add --dereference option to df, Bernhard Voelker, 2013/12/03
- Re: Add --dereference option to df, Pádraig Brady, 2013/12/03
- Re: Add --dereference option to df, Bernhard Voelker, 2013/12/03
- Re: Add --dereference option to df, Pádraig Brady, 2013/12/04
- Re: Add --dereference option to df,
Bernhard Voelker <=
- Re: Add --dereference option to df, Pádraig Brady, 2013/12/05
- Re: Add --dereference option to df, Bernhard Voelker, 2013/12/05
- Re: Add --dereference option to df, Pádraig Brady, 2013/12/05
- Re: Add --dereference option to df, Bernhard Voelker, 2013/12/05