]> git.ipfire.org Git - thirdparty/coreutils.git/commit
df: only suppress remote mounts of separate exports with --total
authorPádraig Brady <P@draigBrady.com>
Wed, 29 Oct 2014 02:49:17 +0000 (02:49 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 24 Nov 2014 09:04:54 +0000 (09:04 +0000)
commit2e81e62243409c5c574b899f52b08c000e4d99fd
treefc5f35aeb4f13cb23d94e0364f01e5c066205a2f
parent3ab3c7bb24b86ef2d2fede9fe26e3ee585db5411
df: only suppress remote mounts of separate exports with --total

* src/df.c (filter_mount_list): Separate remote locations are
generally explicitly mounted, so list each even if they share
the same remote device and thus storage.  However with --total
keep the suppression to give a more accurate value for the
total storage available.
(usage): Expand on the new implications of --total and move
it in the options list according to alphabetic order.
doc/coreutils.texi (df invocation): Mention that --total impacts
on deduplication of remote file systems and also move location
according to alphabetic order.
* tests/df/skip-duplicates.sh: Add remote test cases.
* NEWS: Mention the change in behavior.

Reported in http://bugs.debian.org/737399
Reported in http://bugzilla.redhat.com/920806
Reported in http://bugzilla.opensuse.org/866010
Reported in http://bugzilla.opensuse.org/901905
NEWS
doc/coreutils.texi
src/df.c
tests/df/skip-duplicates.sh