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 #20 received at 10363 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 10363 <at> debbugs.gnu.org, coreutils <at> gnu.org
Subject: Re: df vs. long-named /dev/disk/by-uuid/... file system device names
Date: Thu, 29 Dec 2011 10:39:34 -0700
Jim Meyering wrote:
> On systems with recent kernel/tools, a symlink from /etc/mtab to
> /proc/mounts, and a by-UUID mount (i.e., soon, nearly everyone),
> you will see something like the following when running "df -hT":

Very unpleasant output.

> Here's a patch to do that.
> ...
> I hesitated to make this change, because it feels like a kludge that's
> working around a misfeature that should be fixed elsewhere.  I'd rather
> that the long root device name not appear in the mount listing
> (/proc/mounts) in the first place.
> 
> If anyone can assure us that this will soon be "fixed" so that we
> don't get such entries in /proc/mounts quite so easily, I'll be
> happy to defer or drop the patch.

+1 vote for doing something, either this or similar, to address the
issue in the coreutils df.  Otherwise there will be an endless stream
of annoyed people knocking down the door of the messenger.

Bob




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.