From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 26 13:15:47 2015 Received: (at submit) by debbugs.gnu.org; 26 Feb 2015 18:15:47 +0000 Received: from localhost ([127.0.0.1]:58935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR2yQ-0002Ar-Bp for submit@debbugs.gnu.org; Thu, 26 Feb 2015 13:15:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR0ZN-00070U-KT for submit@debbugs.gnu.org; Thu, 26 Feb 2015 10:41:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR0ZH-000155-DV for submit@debbugs.gnu.org; Thu, 26 Feb 2015 10:41:40 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR0ZH-00014z-AP for submit@debbugs.gnu.org; Thu, 26 Feb 2015 10:41:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR0ZG-0003fw-7N for bug-coreutils@gnu.org; Thu, 26 Feb 2015 10:41:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR0ZC-00012K-Sv for bug-coreutils@gnu.org; Thu, 26 Feb 2015 10:41:38 -0500 Received: from smtp-rs1-vallila2.fe.helsinki.fi ([128.214.173.75]:43713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR0ZC-00011f-HI for bug-coreutils@gnu.org; Thu, 26 Feb 2015 10:41:34 -0500 Received: from cedi.it.helsinki.fi (cedi.it.helsinki.fi [128.214.215.246]) by smtp-rs1.it.helsinki.fi (8.14.4/8.14.4) with ESMTP id t1QFfWjW010318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Feb 2015 17:41:32 +0200 Received: from cedi.it.helsinki.fi (localhost [127.0.0.1]) by cedi.it.helsinki.fi (8.14.7/8.14.7) with ESMTP id t1QFfV3k014891 for ; Thu, 26 Feb 2015 17:41:31 +0200 Received: from localhost (vmkari@localhost) by cedi.it.helsinki.fi (8.14.7/8.14.7/Submit) with ESMTP id t1QFfVaJ014888 for ; Thu, 26 Feb 2015 17:41:31 +0200 Date: Thu, 26 Feb 2015 17:41:31 +0200 (EET) From: Vesa-Matti J Kari X-X-Sender: vmkari@cedi.it.helsinki.fi To: bug-coreutils@gnu.org Subject: Solved (Re: df fails to show all mounted file systems) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LRH 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 26 Feb 2015 13:15:44 -0500 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: -4.3 (----) Hello, On Thu, 26 Feb 2015, Vesa-Matti J Kari wrote: > [...] starting from coreutils-8.21 (i.e. the bug exist in 8.22 and 8.23 > too), lots of NFS mounts are missing: > > vmkari@cedi:/var/tmp/vmk$ coreutils-8.21/src/df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/rvg-root 5134336 4334584 799752 85% / > devtmpfs 8118888 0 8118888 0% /dev > tmpfs 8128372 0 8128372 0% /dev/shm > tmpfs 8128372 18860 8109512 1% /run > tmpfs 8128372 0 8128372 0% /sys/fs/cgroup > /dev/sda1 520876 190144 330732 37% /boot > machine-1:/ua/group 1459291104 1113208544 271954816 81% /h/group > machine-1:/b/scratch 101721248 75860064 20618816 79% /b/scratch > machine-1:/h/a 1001028384 746104672 204068672 79% /h/a > machine-1:/usr/local/yht 113402880 78201856 29433856 73% /usr/local/yht > machine-1:/q/q 113402528 78201952 29433536 73% /q/q > machine-2:/var/spool/mail 230608384 83144160 135929888 38% /var/spool/mail > > The contents /etc/mtab are correct and "mount" command also works > correctly. Could you look into this issue please? Wow. I just spent about three hours investigating and came up with this little patch for coreutils-8.20: ----------- sample starts ------------------------------- --- coreutils-8.21/src/df.c 2013-02-05 01:40:31.000000000 +0200 +++ coreutils-8.21-patched/src/df.c 2015-02-26 17:02:41.849872767 +0200 @@ -624,8 +624,8 @@ filter_mount_list (void) } else { - /* If the device name is a real path name ... */ - if (strchr (me->me_devname, '/')) + /* If the device name is a real path name and not an NFS-mount ... */ + if (strchr (me->me_devname, '/') && !strchr (me->me_devname, ':')) { /* ... try to find its device number in the devlist. */ for (devlist = devlist_head; devlist; devlist = devlist->next) ----------- sample ends ------------------------------ And all in vain because the 'df' utility in the latest coreutils git-repo already works correctly. :-) So sorry for the noise. Do you have plans to release coreutils-8.24 soon? The coreutils-8.22.11.el7 on Red Hat Enterprise Linux 7 / CentOS 7 is currently broken. Regards, vmk -- ************************************************************************ Tietotekniikkakeskus / Helsingin yliopisto IT department / University of Helsinki ************************************************************************ From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 26 16:08:11 2015 Received: (at control) by debbugs.gnu.org; 26 Feb 2015 21:08:11 +0000 Received: from localhost ([127.0.0.1]:59029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR5fH-0006A4-8T for submit@debbugs.gnu.org; Thu, 26 Feb 2015 16:08:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40721) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR5fE-00069p-8j for control@debbugs.gnu.org; Thu, 26 Feb 2015 16:08:09 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1QL81hP009814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 26 Feb 2015 16:08:02 -0500 Received: from [10.3.113.214] (ovpn-113-214.phx2.redhat.com [10.3.113.214]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1QL81TH008326 for ; Thu, 26 Feb 2015 16:08:01 -0500 Message-ID: <54EF8B30.3090905@redhat.com> Date: Thu, 26 Feb 2015 14:08:00 -0700 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: GNU bug tracker automated control server Subject: Re: bug#19956: Solved (Re: df fails to show all mounted file systems) References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MAKRfuIMhW0nUg3597f4HVlfn0JtbdKnN" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MAKRfuIMhW0nUg3597f4HVlfn0JtbdKnN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable merge 19955 19956 thanks On 02/26/2015 08:41 AM, Vesa-Matti J Kari wrote: >=20 > Hello, >=20 > On Thu, 26 Feb 2015, Vesa-Matti J Kari wrote: >=20 >> [...] starting from coreutils-8.21 (i.e. the bug exist in 8.22 and 8.2= 3 >> too), lots of NFS mounts are missing: >> >> vmkari@cedi:/var/tmp/vmk$ coreutils-8.21/src/df >> Filesystem 1K-blocks Used Available Use% Mounted = on >> /dev/mapper/rvg-root 5134336 4334584 799752 85% / >> devtmpfs 8118888 0 8118888 0% /dev >> tmpfs 8128372 0 8128372 0% /dev/shm= >> tmpfs 8128372 18860 8109512 1% /run >> tmpfs 8128372 0 8128372 0% /sys/fs/= cgroup >> /dev/sda1 520876 190144 330732 37% /boot >> machine-1:/ua/group 1459291104 1113208544 271954816 81% /h/group= >> machine-1:/b/scratch 101721248 75860064 20618816 79% /b/scrat= ch >> machine-1:/h/a 1001028384 746104672 204068672 79% /h/a >> machine-1:/usr/local/yht 113402880 78201856 29433856 73% /usr/loc= al/yht >> machine-1:/q/q 113402528 78201952 29433536 73% /q/q >> machine-2:/var/spool/mail 230608384 83144160 135929888 38% /var/= spool/mail >> >> The contents /etc/mtab are correct and "mount" command also works >> correctly. Could you look into this issue please? >=20 > Wow. I just spent about three hours investigating and came up with this= > little patch for coreutils-8.20: >=20 > ----------- sample starts ------------------------------- >=20 > --- coreutils-8.21/src/df.c 2013-02-05 01:40:31.000000000 +0200 > +++ coreutils-8.21-patched/src/df.c 2015-02-26 17:02:41.849872767 +0200= > @@ -624,8 +624,8 @@ filter_mount_list (void) > } > else > { > - /* If the device name is a real path name ... */ > - if (strchr (me->me_devname, '/')) > + /* If the device name is a real path name and not an NFS-mou= nt ... */ > + if (strchr (me->me_devname, '/') && !strchr (me->me_devname,= ':')) > { > /* ... try to find its device number in the devlist. */= > for (devlist =3D devlist_head; devlist; devlist =3D devl= ist->next) >=20 > ----------- sample ends ------------------------------ >=20 > And all in vain because the 'df' utility in the latest coreutils git-re= po > already works correctly. :-) >=20 > So sorry for the noise. >=20 > Do you have plans to release coreutils-8.24 soon? The > coreutils-8.22.11.el7 on Red Hat Enterprise Linux 7 / CentOS 7 is > currently broken. >=20 > Regards, > vmk >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --MAKRfuIMhW0nUg3597f4HVlfn0JtbdKnN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJU74swAAoJEKeha0olJ0NqOS8H/RMnsiqE0S4k11v4fpt8nfwv RVFgqQbzatH/Sk96NWldALpMptSoXa/OhptLSSqs3d0u+qRwurrN5TCDYCW9byzQ w1VCH4+WLBtXfXjuWFTsBPhNosW3PXko0U675ahse0l2fo0iwneaH0Ydimcyynam lDtTAUGiqXCEEbrQJEH87EXxzFZsgyKvMsxkWKCgDBWWymKO1OAUAmnoDGYqc9eZ pRv7HWfhLcrZQ4Ajh4opUfDplRmGChv7zsfcuqrDkve+rZGfK7x/paS2POmnxeLm oBqylrjWiOPVruShCfRElmN9Ftro4IAtg0t4HP8BJlUtY23v9217zhYpmucgNUM= =CZx+ -----END PGP SIGNATURE----- --MAKRfuIMhW0nUg3597f4HVlfn0JtbdKnN-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 01 07:39:16 2015 Received: (at 19956-done) by debbugs.gnu.org; 1 Mar 2015 12:39:16 +0000 Received: from localhost ([127.0.0.1]:32964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YS39Q-0001Hh-Ca for submit@debbugs.gnu.org; Sun, 01 Mar 2015 07:39:16 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:44694) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YS39O-0001HO-04 for 19956-done@debbugs.gnu.org; Sun, 01 Mar 2015 07:39:14 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkgFABgH81RtTG6d/2dsb2JhbABagwJSgxW+W4V0AoESTQEBAQEBAXyEEAEFJwsBVgsNCwkWDwkDAgECAUUGAQwIAQGILwEIwUmTEgEBCAEBAQEBAQEXBIsShB0BAVaEKwEEhW+NaYcBgyCCSIxYI4ICHIFQPoE8gTgBAQE Received: from unknown (HELO localhost.localdomain) ([109.76.110.157]) by mail2.vodafone.ie with ESMTP; 01 Mar 2015 12:39:06 +0000 Message-ID: <54F30869.4010006@draigBrady.com> Date: Sun, 01 Mar 2015 12:39:05 +0000 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Vesa-Matti J Kari , 19956-done@debbugs.gnu.org Subject: Re: bug#19956: Solved (Re: df fails to show all mounted file systems) References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19956-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 (/) On 26/02/15 15:41, Vesa-Matti J Kari wrote: > > Hello, > > On Thu, 26 Feb 2015, Vesa-Matti J Kari wrote: > >> [...] starting from coreutils-8.21 (i.e. the bug exist in 8.22 and 8.23 >> too), lots of NFS mounts are missing: >> >> vmkari@cedi:/var/tmp/vmk$ coreutils-8.21/src/df >> Filesystem 1K-blocks Used Available Use% Mounted on >> /dev/mapper/rvg-root 5134336 4334584 799752 85% / >> devtmpfs 8118888 0 8118888 0% /dev >> tmpfs 8128372 0 8128372 0% /dev/shm >> tmpfs 8128372 18860 8109512 1% /run >> tmpfs 8128372 0 8128372 0% /sys/fs/cgroup >> /dev/sda1 520876 190144 330732 37% /boot >> machine-1:/ua/group 1459291104 1113208544 271954816 81% /h/group >> machine-1:/b/scratch 101721248 75860064 20618816 79% /b/scratch >> machine-1:/h/a 1001028384 746104672 204068672 79% /h/a >> machine-1:/usr/local/yht 113402880 78201856 29433856 73% /usr/local/yht >> machine-1:/q/q 113402528 78201952 29433536 73% /q/q >> machine-2:/var/spool/mail 230608384 83144160 135929888 38% /var/spool/mail >> >> The contents /etc/mtab are correct and "mount" command also works >> correctly. Could you look into this issue please? > > Wow. I just spent about three hours investigating and came up with this > little patch for coreutils-8.20: > > ----------- sample starts ------------------------------- > > --- coreutils-8.21/src/df.c 2013-02-05 01:40:31.000000000 +0200 > +++ coreutils-8.21-patched/src/df.c 2015-02-26 17:02:41.849872767 +0200 > @@ -624,8 +624,8 @@ filter_mount_list (void) > } > else > { > - /* If the device name is a real path name ... */ > - if (strchr (me->me_devname, '/')) > + /* If the device name is a real path name and not an NFS-mount ... */ > + if (strchr (me->me_devname, '/') && !strchr (me->me_devname, ':')) > { > /* ... try to find its device number in the devlist. */ > for (devlist = devlist_head; devlist; devlist = devlist->next) > > ----------- sample ends ------------------------------ > > And all in vain because the 'df' utility in the latest coreutils git-repo > already works correctly. :-) > > So sorry for the noise. > > Do you have plans to release coreutils-8.24 soon? The > coreutils-8.22.11.el7 on Red Hat Enterprise Linux 7 / CentOS 7 is > currently broken. EL7 would get that backport independently of a new release. That's now tracked at https://bugzilla.redhat.com/1197463 thanks, Pádraig. From unknown Fri Jun 20 07:18:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 30 Mar 2015 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator