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


Message #44 received at 10363 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 10363 <at> debbugs.gnu.org, coreutils <at> gnu.org
Subject: Re: bug#10363: df vs. long-named /dev/disk/by-uuid/... file system
	device names
Date: Tue, 03 Jan 2012 16:23:50 +0000
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.

cheers,
Pádraig.




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.