From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 26 12:51:47 2015 Received: (at submit) by debbugs.gnu.org; 26 Feb 2015 17:51:47 +0000 Received: from localhost ([127.0.0.1]:58895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YR2bC-0001Zf-I0 for submit@debbugs.gnu.org; Thu, 26 Feb 2015 12:51:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33957) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQwnP-0007vq-Ba for submit@debbugs.gnu.org; Thu, 26 Feb 2015 06:40:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQwnG-0001wA-7j for submit@debbugs.gnu.org; Thu, 26 Feb 2015 06:39:54 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQwnG-0001w6-54 for submit@debbugs.gnu.org; Thu, 26 Feb 2015 06:39:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQwnF-0004jq-5v for bug-coreutils@gnu.org; Thu, 26 Feb 2015 06:39:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQwnB-0001u0-TZ for bug-coreutils@gnu.org; Thu, 26 Feb 2015 06:39:49 -0500 Received: from smtp-rs1-vallila2.fe.helsinki.fi ([128.214.173.75]:54950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQwnB-0001ro-In for bug-coreutils@gnu.org; Thu, 26 Feb 2015 06:39:45 -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 t1QBdcI9022335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 26 Feb 2015 13:39:38 +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 t1QBdcbY004868 for ; Thu, 26 Feb 2015 13:39:38 +0200 Received: from localhost (vmkari@localhost) by cedi.it.helsinki.fi (8.14.7/8.14.7/Submit) with ESMTP id t1QBdbLL004865 for ; Thu, 26 Feb 2015 13:39:38 +0200 Date: Thu, 26 Feb 2015 13:39:37 +0200 (EET) From: Vesa-Matti J Kari X-X-Sender: vmkari@cedi.it.helsinki.fi To: bug-coreutils@gnu.org Subject: df fails to show all mounted file systems Message-ID: 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 12:51:45 -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, coreutils 8.20 df output is correct, showing all mounted filesystems: vmkari@cedi:/var/tmp/vmk$ coreutils-8.20/src/df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 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/mapper/rvg-root 5134336 4334584 799752 85% / /dev/sda1 520876 190144 330732 37% /boot machine-1:/data/data1 1459291104 1113208544 271954816 81% /data/data1 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-1:/h/4 1001028384 746104672 204068672 79% /h/4 machine-1:/p/p 113402528 78201952 29433536 73% /p/p machine-1:/ua/group 1459291104 1113208544 271954816 81% /h/group machine-1:/h/9 1001028384 746104672 204068672 79% /h/9 machine-1:/y/lingweb 1459291104 1113208544 271954816 81% /ling/web machine-1:/h/1 1001028384 746104672 204068672 79% /h/3 machine-1:/h/c 1001028384 746104672 204068672 79% /h/c machine-1:/h/6 1001028384 746104672 204068672 79% /h/6 machine-1:/h/7 1001028384 746104672 204068672 79% /h/7 machine-1:/h/5 1001028384 746104672 204068672 79% /h/5 machine-1:/h/8 1001028384 746104672 204068672 79% /h/8 machine-1:/h/1 1001028384 746104672 204068672 79% /h/1 machine-1:/h/2 1001028384 746104672 204068672 79% /h/2 machine-2:/var/spool/mail 230608384 83144160 135929888 38% /var/spool/mail machine-1:/h/0 1001028384 746104672 204068672 79% /h/0 But 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? 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 unknown Sat Jun 21 03:27:52 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