https://bugzilla.novell.com/show_bug.cgi?id=782746
https://bugzilla.novell.com/show_bug.cgi?id=782746#c2
Philipp Thomas changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WONTFIX
--- Comment #2 from Philipp Thomas 2013-11-28 18:32:48 CET ---
Sorry for the late answer. This is the answer from upstream:
On systems where /etc/mtab is a regular file, 'mount' writes the name
of the backing file into /etc/mtab. Nowadays, as /etc/mtab is a symlink to
/proc/self/mounts, this information is not available to 'df' anymore.
According to util-linux sources [1], such information is available in
/sys/block/loopN/loop/backing_file (kernel >= 2.6.37 is required).
Therefore, 'mount' makes this extra lookup in that file to display the
name of the backing file.
I don't think it's a good idea to add such functionality to 'df', as this is
rather OS-dependent. Furthermore, OS-specific tools - in this
case e.g. 'mount' from util-linux for the Linux platform - already display
the name of the backing file.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.