]> git.ipfire.org Git - thirdparty/coreutils.git/commit
df: use all of the last device details provided
authorPádraig Brady <P@draigBrady.com>
Mon, 16 Jun 2014 23:18:47 +0000 (00:18 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 18 Jun 2014 17:05:16 +0000 (18:05 +0100)
commit4f8d74eb1b2ba17ef05f81c1c725e60a65cf8293
tree9e25e4d598dac5bcceb5bd49d9543edf9ee18824
parent5ad16c2a0f11e48f1b1e3968b7b390591ce6f908
df: use all of the last device details provided

* src/df.c (filter_mount_list): Recent commit v8.22-108-g25a2c94
failed to copy file system type along with the updated device name.
Therefore simply replace the existing mount entry with the
current one with all the latest device details.  Note the name,
even if not shorter in this entry, will be replaced with a shorter
name in a subsequent mount entry.
* tests/df/skip-duplicates.sh: Add a test case.
src/df.c
tests/df/skip-duplicates.sh