]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: clarify df's use of device IDs from /proc/self/mountinfo
authorPádraig Brady <P@draigBrady.com>
Sun, 28 Jun 2015 02:53:51 +0000 (03:53 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 28 Jun 2015 02:56:41 +0000 (03:56 +0100)
commiteff511bd3cecaab30df75a854f01566ce45c5876
tree7b737d33f99b7fdc706c8cc4820d20d7e6cec972
parente0c5ca485c9a5f016650f2c78e4d2edb6e44b2bb
maint: clarify df's use of device IDs from /proc/self/mountinfo

* src/df.c (filter_mount_list): Clarify why we still stat even
though devices IDs may already be available.  Note using
/proc/self/mountinfo is still an advantage to get filtered items
with accurate device patchs in chroots and with bind mounts.
I.E. on older setups with static /etc/mtab, df will now
bypass that to get the more accuracte and dynamic info.
src/df.c