From unknown Sat Jun 14 03:57:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15986: df in current coreutils shows the device for loop mounts, not the file Resent-From: Philipp Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 28 Nov 2013 14:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15986 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15986@debbugs.gnu.org Cc: Bernhard Voelker X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13856492776620 (code B ref -1); Thu, 28 Nov 2013 14:35:03 +0000 Received: (at submit) by debbugs.gnu.org; 28 Nov 2013 14:34:37 +0000 Received: from localhost ([127.0.0.1]:48501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm2fs-0001ih-Bu for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57242) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm2fp-0001iT-44 for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm2fa-00082Q-LW for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2fa-00082L-IQ for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2fT-0007Jq-6U for bug-coreutils@gnu.org; Thu, 28 Nov 2013 09:34:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm2fL-0007xb-Tq for bug-coreutils@gnu.org; Thu, 28 Nov 2013 09:34:11 -0500 Received: from cantor2.suse.de ([195.135.220.15]:50176 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2fL-0007xJ-MN for bug-coreutils@gnu.org; Thu, 28 Nov 2013 09:34:03 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9FA9FA7D88; Thu, 28 Nov 2013 15:34:02 +0100 (CET) Date: Thu, 28 Nov 2013 15:34:02 +0100 From: Philipp Thomas Message-ID: <20131128143402.GB20675@paradies.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: openSUSE - Kernel Linux 3.11.6-5-desktop x86_64 Organization: SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix =?UTF-8?Q?Imend=C3=B6rffer,?= HRB 21284 (AG =?UTF-8?Q?N=C3=BCrnberg?=) User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Df in older coreutils showed the file of a loop mount whereas currently it shows you the loop device. This is IMHO bogus as what good is that info? Is this a deliberate change or a side effect of other changes? I searched ChangeLog but didn't find anything relating to it (at least in my eyes). Philipp From unknown Sat Jun 14 03:57:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Philipp Thomas Subject: bug#15986: closed (Re: bug#15986: df in current coreutils shows the device for loop mounts, not the file) Message-ID: References: <5297781D.1010600@bernhard-voelker.de> <20131128143402.GB20675@paradies.suse.de> X-Gnu-PR-Message: they-closed 15986 X-Gnu-PR-Package: coreutils Reply-To: 15986@debbugs.gnu.org Date: Thu, 28 Nov 2013 17:07:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1385658423-21110-1" This is a multi-part message in MIME format... ------------=_1385658423-21110-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15986: df in current coreutils shows the device for loop mounts, not the f= ile which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15986@debbugs.gnu.org. --=20 15986: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15986 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1385658423-21110-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15986-done) by debbugs.gnu.org; 28 Nov 2013 17:06:47 +0000 Received: from localhost ([127.0.0.1]:49044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm539-0005Ty-3y for submit@debbugs.gnu.org; Thu, 28 Nov 2013 12:06:47 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:58686) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm536-0005Tk-QA for 15986-done@debbugs.gnu.org; Thu, 28 Nov 2013 12:06:45 -0500 Received: from [10.0.2.15] (gw.camline.com [62.153.148.194]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0M4miX-1VQxJw45C1-00yghq; Thu, 28 Nov 2013 18:06:38 +0100 Message-ID: <5297781D.1010600@bernhard-voelker.de> Date: Thu, 28 Nov 2013 18:06:37 +0100 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Philipp Thomas , 15986-done@debbugs.gnu.org Subject: Re: bug#15986: df in current coreutils shows the device for loop mounts, not the file References: <20131128143402.GB20675@paradies.suse.de> In-Reply-To: <20131128143402.GB20675@paradies.suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:NzNzHtB9GODCxoq/PbSoOvJHLYX1rJOmnvjOzUuHpob lX47PqJ8Vlg7UhGj+0kVXHu76C1ZGWVCddW7C0trEnqrJz3EsA MhM3Eu+xVaL53MJXzwj0bnXNe4XsQyspBuIjk+lIPugYZ5t7zh bKeMGKvTMT0YfJoqcnOi9evPazuvRiHSYh0y7BCE0DyV28KGDp mhosgGeayu2/DnX/zjus7ofNU8dN7M1kn2CVu73l/illiJ8Pal jNN3TY+afc+Qla1J1S7myKgaLzsYjwiprBYFpShJ6Ara41axgx fPx5xsjAabBWJVukjDALCUbdwc1aTpwTDu/hnM07Wyr91UYv7r qrJeXqGvxoDsrIX1ajr8+Bj6zeBZrhfiCYhhQgfyf X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 15986-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tag 15986 notabug thanks On 11/28/2013 03:34 PM, Philipp Thomas wrote: > Df in older coreutils showed the file of a loop mount whereas currently it > shows you the loop device. This is IMHO bogus as what good is that info? > > Is this a deliberate change or a side effect of other changes? I searched > ChangeLog but didn't find anything relating to it (at least in my eyes). Hi Philipp, 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. As it's therefore not a bug in 'df', I'm hereby marking this bug as done, but this should not prevent you or anybody else to continue discussion. [1] http://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/lib/loopdev.c#n518 Have a nice day, Berny ------------=_1385658423-21110-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Nov 2013 14:34:37 +0000 Received: from localhost ([127.0.0.1]:48501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm2fs-0001ih-Bu for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57242) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm2fp-0001iT-44 for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm2fa-00082Q-LW for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2fa-00082L-IQ for submit@debbugs.gnu.org; Thu, 28 Nov 2013 09:34:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2fT-0007Jq-6U for bug-coreutils@gnu.org; Thu, 28 Nov 2013 09:34:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm2fL-0007xb-Tq for bug-coreutils@gnu.org; Thu, 28 Nov 2013 09:34:11 -0500 Received: from cantor2.suse.de ([195.135.220.15]:50176 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2fL-0007xJ-MN for bug-coreutils@gnu.org; Thu, 28 Nov 2013 09:34:03 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9FA9FA7D88; Thu, 28 Nov 2013 15:34:02 +0100 (CET) Date: Thu, 28 Nov 2013 15:34:02 +0100 From: Philipp Thomas To: bug-coreutils@gnu.org Subject: df in current coreutils shows the device for loop mounts, not the file Message-ID: <20131128143402.GB20675@paradies.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: openSUSE - Kernel Linux 3.11.6-5-desktop x86_64 Organization: SUSE LINUX Products GmbH, =?iso-8859-1?Q?G?= =?iso-8859-1?Q?F=3A_Jeff_Hawn=2C_Jennifer_Guild=2C_Felix_Imend=F6rffer=2C?= =?iso-8859-1?Q?_HRB_21284_=28AG_N=FCrnberg=29?= User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Bernhard Voelker X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Df in older coreutils showed the file of a loop mount whereas currently it shows you the loop device. This is IMHO bogus as what good is that info? Is this a deliberate change or a side effect of other changes? I searched ChangeLog but didn't find anything relating to it (at least in my eyes). Philipp ------------=_1385658423-21110-1-- From unknown Sat Jun 14 03:57:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15986: df in current coreutils shows the device for loop mounts, not the file Resent-From: Linda Walsh Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 28 Nov 2013 20:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15986 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15986@debbugs.gnu.org, mail@bernhard-voelker.de, pth@suse.de Received: via spool by 15986-submit@debbugs.gnu.org id=B15986.138567170214781 (code B ref 15986); Thu, 28 Nov 2013 20:49:01 +0000 Received: (at 15986) by debbugs.gnu.org; 28 Nov 2013 20:48:22 +0000 Received: from localhost ([127.0.0.1]:49228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm8VZ-0003qK-MJ for submit@debbugs.gnu.org; Thu, 28 Nov 2013 15:48:21 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:34621) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vm8VW-0003qA-R9 for 15986@debbugs.gnu.org; Thu, 28 Nov 2013 15:48:19 -0500 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id rASKmBB2011363; Thu, 28 Nov 2013 12:48:13 -0800 Message-ID: <5297AC0A.70908@tlinx.org> Date: Thu, 28 Nov 2013 12:48:10 -0800 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 References: <20131128143402.GB20675@paradies.suse.de> <5297781D.1010600@bernhard-voelker.de> In-Reply-To: <5297781D.1010600@bernhard-voelker.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 28/11/2013 09:06, Bernhard Voelker wrote: > tag 15986 notabug > thanks > > On 11/28/2013 03:34 PM, Philipp Thomas wrote: >> Df in older coreutils showed the file of a loop mount whereas currently it >> shows you the loop device. This is IMHO bogus as what good is that info? >> >> Is this a deliberate change or a side effect of other changes? I searched >> ChangeLog but didn't find anything relating to it (at least in my eyes). > > Hi Philipp, > > 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**. ---- 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: (** ex: -showing the user their real "root" instead of /root, -- -showing the user modified device names instead of what they passed to mount (i.e. showing /dev/mapper/Hns-Home-users-- instead of /dev/HnS/Home/users-home - showing what options they specified rather than all that applied at the time of mount, like: /dev/mapper/Backups-Backups on /backups type xfs (rw,nodiratime,relatime,\ swalloc,attr2,largeio,inode64,allocsize=131072k,logbsize=256k,sunit=128,\ swidth=1536,noquota) instead of: /dev/Backups/Backups /backups xfs\ defaults,nodiratime,swalloc,largeio,logbsize=256k,\ inode64,allocsize=128m 2 0 Maybe if they want to substitute /etc/mtab for /proc/mounts, they should have wondered a bit more where to get the correct information to allow for backwards compat (I know there are other utils and /proc locations to get access to the device you want, BUT -- they are not standard locations. Should all of the linux utils have to jump through hoops to provide relevant and accurate information as specified by the user? From unknown Sat Jun 14 03:57:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15986: df in current coreutils shows the device for loop mounts, not the file Resent-From: Bernhard Voelker Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 28 Nov 2013 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15986 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Linda Walsh Cc: pth@suse.de, 15986@debbugs.gnu.org Received: via spool by 15986-submit@debbugs.gnu.org id=B15986.138568058029416 (code B ref 15986); Thu, 28 Nov 2013 23:17:02 +0000 Received: (at 15986) by debbugs.gnu.org; 28 Nov 2013 23:16:20 +0000 Received: from localhost ([127.0.0.1]:49355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmAol-0007eO-R8 for submit@debbugs.gnu.org; Thu, 28 Nov 2013 18:16:20 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:50878) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmAoj-0007e9-G7 for 15986@debbugs.gnu.org; Thu, 28 Nov 2013 18:16:18 -0500 Received: from [192.168.1.11] (p5091FFEF.dip0.t-ipconnect.de [80.145.255.239]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0M2puc-1VSiBc07B0-00shvP; Fri, 29 Nov 2013 00:16:06 +0100 Message-ID: <5297CEB5.7060809@bernhard-voelker.de> Date: Fri, 29 Nov 2013 00:16:05 +0100 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 References: <20131128143402.GB20675@paradies.suse.de> <5297781D.1010600@bernhard-voelker.de> <5297AC0A.70908@tlinx.org> In-Reply-To: <5297AC0A.70908@tlinx.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:PCUcYLIk23CIIc9dSO0Zxbd9ttxPsatPZ3G894g7/sN RTEhnV4iLznlslaHOwIIxBnuKu8p1LnyVy8CccOfMDM0W2gyxn DDuQJj5slgXec3ms61oZCHVcBU0sCD+Jxh7CTGg1LE37Q9U06u V/YDLtPzacG3IncXD+wrWCLgbTnaLBx+LPmXSL+vTTkyEe29Hn QidTErUakIzhdgC6uNb2/lkmGckro5Q5sNYMlvE1x36TeWRdyk DzWQhNuh1XIXq1lj0FQlkU067Tpd2ayCnqAmNldHngcOmjJ7dx Fb/I31/NHuAh6Dxu1cjl2Va2+5/hSDNOma6e8WtG3iW8Op3m5G HHfHy/9xsNCrpeMJR2d1EDUPC7OMzwfUj/otfHL8A X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 From unknown Sat Jun 14 03:57:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15986: df in current coreutils shows the device for loop mounts, not the file Resent-From: Linda Walsh Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 29 Nov 2013 06:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15986 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Bernhard Voelker Cc: pth@suse.de, 15986@debbugs.gnu.org Received: via spool by 15986-submit@debbugs.gnu.org id=B15986.138570720412101 (code B ref 15986); Fri, 29 Nov 2013 06:41:02 +0000 Received: (at 15986) by debbugs.gnu.org; 29 Nov 2013 06:40:04 +0000 Received: from localhost ([127.0.0.1]:49587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmHkB-000391-4H for submit@debbugs.gnu.org; Fri, 29 Nov 2013 01:40:03 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:49846) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmHk6-00038U-Bf for 15986@debbugs.gnu.org; Fri, 29 Nov 2013 01:39:58 -0500 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id rAT6doRm010210; Thu, 28 Nov 2013 22:39:53 -0800 Message-ID: <529836B6.4080200@tlinx.org> Date: Thu, 28 Nov 2013 22:39:50 -0800 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 References: <20131128143402.GB20675@paradies.suse.de> <5297781D.1010600@bernhard-voelker.de> <5297AC0A.70908@tlinx.org> <5297CEB5.7060809@bernhard-voelker.de> In-Reply-To: <5297CEB5.7060809@bernhard-voelker.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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. From unknown Sat Jun 14 03:57:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15986: df in current coreutils shows the device for loop mounts, not the file Resent-From: Philipp Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 29 Nov 2013 10:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15986 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15986@debbugs.gnu.org Received: via spool by 15986-submit@debbugs.gnu.org id=B15986.13857208552465 (code B ref 15986); Fri, 29 Nov 2013 10:28:02 +0000 Received: (at 15986) by debbugs.gnu.org; 29 Nov 2013 10:27:35 +0000 Received: from localhost ([127.0.0.1]:49763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmLIN-0000df-E2 for submit@debbugs.gnu.org; Fri, 29 Nov 2013 05:27:35 -0500 Received: from cantor2.suse.de ([195.135.220.15]:39130 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmLIL-0000dX-5y for 15986@debbugs.gnu.org; Fri, 29 Nov 2013 05:27:33 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1FAB7A7D76 for <15986@debbugs.gnu.org>; Fri, 29 Nov 2013 11:27:32 +0100 (CET) Date: Fri, 29 Nov 2013 11:27:32 +0100 From: Philipp Thomas Message-ID: <20131129102732.GD20675@paradies.suse.de> References: <20131128143402.GB20675@paradies.suse.de> <5297781D.1010600@bernhard-voelker.de> <5297AC0A.70908@tlinx.org> <5297CEB5.7060809@bernhard-voelker.de> <529836B6.4080200@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <529836B6.4080200@tlinx.org> X-Operating-System: openSUSE - Kernel Linux 3.11.6-5-desktop x86_64 Organization: SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix =?UTF-8?Q?Imend=C3=B6rffer,?= HRB 21284 (AG =?UTF-8?Q?N=C3=BCrnberg?=) User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * Linda Walsh (coreutils@tlinx.org) [20131129 07:40]: > I can think of 2 cases where the kernel displays the wrong information > concerning mounts. The discuss this with the kernel maintainers! Coreutils is the wrong place for this discussion. Philipp From unknown Sat Jun 14 03:57:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15986: df in current coreutils shows the device for loop mounts, not the file Resent-From: Bob Proulx Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 29 Nov 2013 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15986 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15986@debbugs.gnu.org Received: via spool by 15986-submit@debbugs.gnu.org id=B15986.138575527229351 (code B ref 15986); Fri, 29 Nov 2013 20:02:02 +0000 Received: (at 15986) by debbugs.gnu.org; 29 Nov 2013 20:01:12 +0000 Received: from localhost ([127.0.0.1]:50566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmUFU-0007dK-9W for submit@debbugs.gnu.org; Fri, 29 Nov 2013 15:01:12 -0500 Received: from joseki.proulx.com ([216.17.153.58]:55364) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VmUFS-0007dC-DJ for 15986@debbugs.gnu.org; Fri, 29 Nov 2013 15:01:11 -0500 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id BD79921228 for <15986@debbugs.gnu.org>; Fri, 29 Nov 2013 13:01:09 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id A44712DCD5; Fri, 29 Nov 2013 13:01:09 -0700 (MST) Date: Fri, 29 Nov 2013 13:01:09 -0700 From: Bob Proulx Message-ID: <20131129200109.GH25951@hysteria.proulx.com> References: <20131128143402.GB20675@paradies.suse.de> <5297781D.1010600@bernhard-voelker.de> <5297AC0A.70908@tlinx.org> <5297CEB5.7060809@bernhard-voelker.de> <529836B6.4080200@tlinx.org> <20131129102732.GD20675@paradies.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131129102732.GD20675@paradies.suse.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Philipp Thomas wrote: > * Linda Walsh (coreutils@tlinx.org) [20131129 07:40]: > > I can think of 2 cases where the kernel displays the wrong information > > concerning mounts. > > The discuss this with the kernel maintainers! Coreutils is the wrong place > for this discussion. For this point I disagree. Because coreutils often has to deal with kernel (Linux and otherwise) problems. There have been many workarounds for kernel bugs in the userland code. I might argue that all of the glib overrides shouldn't exist in a perfect world. Bob