X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_TM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D1A1DEC.7000000@redhat.com>
Date: Tue, 28 Dec 2010 10:27:08 -0700
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bug: df -l considers no filesystems local
References: <alpine.BSF.2.00.1003311928460.92896@anduin.net> <4BB39043.5040202@redhat.com>
In-Reply-To: <4BB39043.5040202@redhat.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigFBE3D23ED2CB2233CFBDCA4F"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------enigFBE3D23ED2CB2233CFBDCA4F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 03/31/2010 12:11 PM, Eric Blake wrote:
> On 03/31/2010 11:59 AM, Erik Inge Bols=F8 wrote:
>> On a fresh cygwin install, df -l returns:
>>
>> df: no file systems processed
>=20
> Thanks for the reminder.  This has been previously reported, but I still
> haven't had time to look into it.  I'm not sure whether it is a bug in
> cygwin itself, or a porting problem in coreutils.

An upstream bug (upstream mountlist.c was assuming that getmntent
mnt_fsname implies a remote disk if it contains a :, or starts with //
and is of type cifs or smbfs; but on cygwin, ALL mount points contain a
: or start with //).  I'm restoring the 6.10 behavior (actually, the
6.10 behavior had to deal with the fact that cygwin 1.5 didn't have
getmntent that returned file system types, so the patch for cygwin 1.7
is much smaller).  Look for coreutils 8.8 to hit a mirror near you soon.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigFBE3D23ED2CB2233CFBDCA4F
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.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNGh3xAAoJEKeha0olJ0NqYmkH/RfsqYFTH++P90U0Nzj63C1/
meQwyDwTj0xcZdV3GDvZudx+9DXvqxSrQjoBNGWCUujB97J2v5of6xkFP+ghXe9f
iHbrpVx5dTv2aQN5vAKLon3ecWFhyd9SX9+b08nt9/cXRAtDxo94cChkJRyJdqMZ
WiFb2ujDSowaLqsSCG4B6YdVYJ2Q9JKS2LzO8H7GKEg84HOuFAx+6ZO5MPwHwXvH
66nyELth0327tVfDV6Nh/0gGqAEUXhxD4UmoE/GhXx2isD/G9wgL0VYdWNFzkZ/L
KlvgBn+vJLlQ5lgHIkdoL8NPSQ8vSnrrBHf0v/wuodig68qwiroBu+RvwQGdlhM=
=2uUD
-----END PGP SIGNATURE-----

--------------enigFBE3D23ED2CB2233CFBDCA4F--
