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: Goswin von Brederlow <goswin-v-b <at> web.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Alan Curry <pacman-cu <at> kosh.dhis.org>, Goswin von Brederlow <goswin-v-b <at> web.de>, 653073 <at> bugs.debian.org, debian-devel <at> lists.debian.org, 10363 <at> debbugs.gnu.org, jidanni <at> jidanni.org, rleigh <at> codelibre.net
Subject: bug#10363: /etc/mtab -> /proc/mounts symlink affects df(1) output for
Date: Thu, 19 Jan 2012 10:57:22 +0100
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> On 01/18/12 06:25, Goswin von Brederlow wrote:
>> What df should do is automatically skip the entries that are obscured or
>> generally inaccessible.
>
> Isn't this missing some of the larger context?  df is just doing what
> lots of other programs do: finding out what file systems one has,
> and reporting statistics on them.  It sounds suboptimal to require
> the maintainers of all these programs (coreutils, nautilus, etc.)
> to rewrite their apps to deal with obscured entries.  Surely it would
> be better to have the kernel ordinarily return just the ordinary entries,
> and to return obscured entries only when they are specially requested.
> That way, this issue would be isolated to the few bits of code that really
> want to see obscured entries.

+1. Kernel knows best anyway.

MfG
        Goswin




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.