On Fri, May 23, 2014 at 04:22:04PM +0100, Pádraig Brady wrote:
Does `df -a` not show them for root?
Perhaps the duplicate suppression is kicking in here,
though one might have to have root access to determine
the mount points were duplicates.
Yeah, this is longstanding behavior that's been mildly annoying for
years in situations which were previously uncommon but perhaps becoming
more common--basically, df tries to stat the mount and spits out an
error if it can't. I guess the question is whether there's any point in
reporting a permission denied error if a non-root user can't read a
mountpoint?
I see a couple of possible approaches:
1) just silently ignore permission denied messages. if root wanted the
user to see the mount point, root would have changed the permissions.
2) don't print a permission denied message but instead add a partial
listing to the output (suppressed without -a) with something like
[permission_denied] - - - - /mnt/whatever
Mike Stone
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org