[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15986: df in current coreutils shows the device for loop mounts, not
From: |
Bernhard Voelker |
Subject: |
bug#15986: df in current coreutils shows the device for loop mounts, not the file |
Date: |
Fri, 29 Nov 2013 00:16:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 11/28/2013 09:48 PM, Linda Walsh wrote:
> The fact that /etc/mtab is pointing to a wrongly formatted file by
> default, these days, rather than being used to store user-specific mount
> information, seems to be getting well-used as a reason for dropping
> useful information:
Well, there are many reasons to go away from mount-maintained mtab.
E.g. Kzak in some short words: "Yeah, mtab is evil." [1]
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.
'df' cares about the file system [2], and not too much about the
device behind it. That's the domain of mounting tools which is indeed
OS specific.
[1] http://karelzak.blogspot.de/2011_04_01_archive.html
[2] man 1 df: "df - report file system disk space usage"
Have a nice day,
Berny
- bug#15986: df in current coreutils shows the device for loop mounts, not the file, Philipp Thomas, 2013/11/28
- bug#15986: df in current coreutils shows the device for loop mounts, not the file, Bernhard Voelker, 2013/11/28
- bug#15986: df in current coreutils shows the device for loop mounts, not the file, Linda Walsh, 2013/11/28
- bug#15986: df in current coreutils shows the device for loop mounts, not the file,
Bernhard Voelker <=
- bug#15986: df in current coreutils shows the device for loop mounts, not the file, Linda Walsh, 2013/11/29
- bug#15986: df in current coreutils shows the device for loop mounts, not the file, Philipp Thomas, 2013/11/29
- bug#15986: df in current coreutils shows the device for loop mounts, not the file, Bob Proulx, 2013/11/29