GNU bug report logs -
#15986
df in current coreutils shows the device for loop mounts, not the file
Previous Next
Reported by: Philipp Thomas <pth <at> suse.de>
Date: Thu, 28 Nov 2013 14:35:03 UTC
Severity: normal
Done: Bernhard Voelker <mail <at> bernhard-voelker.de>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 15986 <at> debbugs.gnu.org (full text, mbox):
On 11/28/2013 3:16 PM, Bernhard Voelker wrote:
> In the end, mtab as symlink to /proc/self/mounts is the right thing,
> as it presents the view of the kernel ... which is always the correct
> one.
----
I can think of 2 cases where the kernel displays the wrong information
concerning mounts.
1) rootfs -- I have no such device. I even tell the kernel on the
boot command line root=/dev/sdc1. There is no excuse for displaying
garbage in that field.
2) I specify the standard LVM names /dev/VG/LV -- which the kernel then
mangles. The kernel gets it wrong again -- it loses the information of
what the user mounted there. Device wise, they may be similar or the same,
but conceptually, the kernel can't even get the names of my devices as
I used them, correctly. The lvm people say they /dev/mapper/ names are
not standard form and not to use them. If the kernel actually reflected
the information the user provided, I'd agree that it was right. As it
can't seem to either hold on to or echo that information, I would say it
is defective.
This bug report was last modified 11 years and 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.