GNU bug report logs - #10363
/etc/mtab -> /proc/mounts symlink affects df(1) output for /

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org

Date: Sun, 25 Dec 2011 00:44:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 10363 <at> debbugs.gnu.org, coreutils <at> gnu.org
Subject: bug#10363: df vs. long-named /dev/disk/by-uuid/... file system device names
Date: Tue, 03 Jan 2012 17:36:10 +0100
Pádraig Brady wrote:
> On 01/03/2012 03:58 PM, Jim Meyering wrote:
>> diff --git a/NEWS b/NEWS
>
>> +  df, with no non-option argument and recent enough kernel/tools, would
>> +  print a long UUID-including file system name, pushing second and subsequent
>> +  columns far to the right.  Now, when that long name refers to a symlink,
>> +  df prints the usually-short referent instead.
>
> I would change this:
>
> s/would print a long UUID-including file system name/
>   could print long UUID-including file system names/
>
> I usually try to make the first line of the NEWS entry a summary, like:
>
> df avoids long UUID-including file system names, in the default listing.
> On recent enough kernel/tools, these long names can be used, pushing second
> and subsequent columns far to the right.  Now, when a long name refers
> to a symlink, and no file systems are specified, df prints the
> usually-short referent instead.

Thanks, modulo minor rewording:

From 2403b1caa51e59b442f80d223e4de6faecfcc5ca Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> redhat.com>
Date: Tue, 3 Jan 2012 17:33:21 +0100
Subject: [PATCH] doc: adjust NEWS
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* NEWS (New programs): Move this small section to the top.
(df): Reword entry, from Pádraig Brady.
---
 NEWS |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/NEWS b/NEWS
index bc5a0a9..ed6f831 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ GNU coreutils NEWS                                    -*- outline -*-

 * Noteworthy changes in release ?.? (????-??-??) [?]

+** New programs
+
+  realpath: print resolved file names.
+
 ** Bug fixes

   du -x no longer counts root directories of other file systems.
@@ -36,20 +40,17 @@ GNU coreutils NEWS                                    -*- outline -*-

 ** Changes in behavior

-  df, with no non-option argument and recent enough kernel/tools, would
-  print a long UUID-including file system name, pushing second and subsequent
-  columns far to the right.  Now, when that long name refers to a symlink,
-  df prints the usually-short referent instead.
+  df avoids long UUID-including file system names in the default listing.
+  With recent enough kernel/tools, these long names would be used, pushing
+  second and subsequent columns far to the right.  Now, when a long name
+  refers to a symlink, and no file systems are specified, df prints the
+  usually-short referent instead.

   tail -f now uses polling (not inotify) when any of its file arguments
   resides on a file system of unknown type.  In addition, for each such
   argument, tail -f prints a warning with the FS type magic number and a
   request to report it to the bug-reporting address.

-** New programs
-
-  realpath: print resolved file names.
-

 * Noteworthy changes in release 8.14 (2011-10-12) [stable]

--
1.7.8.1.391.g2c2ad




This bug report was last modified 6 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.