delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/28/12:27:26

X-Recipient: archive-cygwin AT delorie DOT 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 AT redhat DOT 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 AT cygwin DOT com
Subject: Re: bug: df -l considers no filesystems local
References: <alpine DOT BSF DOT 2 DOT 00 DOT 1003311928460 DOT 92896 AT anduin DOT net> <4BB39043 DOT 5040202 AT redhat DOT com>
In-Reply-To: <4BB39043.5040202@redhat.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT redhat DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019