From 0380e4c98e9d53ae314f5537c5f1a4b891577768 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Tue, 24 Aug 2010 08:13:33 +0100 Subject: df: always print the device name for bind mounted files * src/df (show_point): Remove the optimization for comparing the specified path with the device name, as this produces inconsistent results in the presence of bind mounts. For bind mounts, the device name is populated with the bind mount target. * NEWS: Mention the change in behavior. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ae7b8397d..85f55a261 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,9 @@ GNU coreutils NEWS -*- outline -*- ** Changes in behavior + df now consistently prints the device name for a bind mounted file, + rather than its aliased target. + du now uses less than half as much memory when operating on trees with many hard-linked files. With --count-links (-l), or when operating on trees with no hard-linked files, there is no change. -- cgit v1.2.3-54-g00ecf