From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55129 invoked by alias); 4 Nov 2015 09:45:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 55120 invoked by uid 89); 4 Nov 2015 09:45:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Nov 2015 09:45:42 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 4BDA5A80601; Wed, 4 Nov 2015 10:45:40 +0100 (CET) Date: Wed, 04 Nov 2015 09:45:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: fstat st_size on open files on Parallels filesystem is wrong Message-ID: <20151104094540.GA23227@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20140423172413.GQ2339@calimero.vinschen.de> <22038.38637.802707.846218@compute03.cs.columbia.edu> <20151021110734.GO5319@calimero.vinschen.de> <22071.12068.858109.210047@compute03.cs.columbia.edu> <20151102112334.GC5319@calimero.vinschen.de> <22071.24647.434328.551494@compute03.cs.columbia.edu> <20151102140627.GA963@calimero.vinschen.de> <22071.56848.992859.797169@compute03.cs.columbia.edu> <20151103121910.GB18567@calimero.vinschen.de> <22073.42807.638243.560521@compute03.cs.columbia.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <22073.42807.638243.560521@compute03.cs.columbia.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-11/txt/msg00092.txt.bz2 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1587 On Nov 4 01:35, Jonathan Lennox wrote: > On Tuesday, November 3 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.c= om" saying: >=20 > > Btw., there's more than one problem here. The fact that all drives > > have the same volume name *and* a serial number of 0 leads to all > > drives being identified as the same drive. I have to add some code > > creating a reproducible serial number from scratch if the original > > serial number is 0, but for testing, I didn't implement this yet. >=20 > I've confirmed that this is the case for all the prlsf drives I have (dri= ves > U:-Z:). >=20 > > Talking about testing. I created a test DLL which provides a lot > > of output when stracing the calls. I'll send you a private mail > > with the URL to this DLL in a minute. Please install it, and under > > that DLL, run > >=20 > > $ strace -o stat.trace ./stat-size-test.exe /cygdrive/y/foo > >=20 > > I'll need to have a look into that strace to (hopefully) see what's > > going wrong. >=20 > Attached. Thanks, but... are you sure you created this with the test DLL I sent you the URL for? The attached strace looks like stock Cygwin. It doesn't contain any of the additional strace output the DLL is supposed to generate and some of it is in a code path you can't avoid when calling functions on files. I'll upload a new DLL to the URL I mentioned in PM in a minute, just to be sure I didn't screw this up myself. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWOdPEAAoJEPU2Bp2uRE+gCFMP/0MKIxqrH1HqzsrKHpFfuPbp wwvWSiyUYRa/SNztFwdD9P8whmSWVpAIZtt+ly9SI7XX5XLKticnYaBWGPDuYd0L s/fI+/jfKLA5gc9Rs1H28+rUP1KjOj++6QM8WLzcRHk/+2pn+ZqatsK1WMW0My91 1veHBV8PBHUOgHhb1pa5OrUKAE6eP08Ml6ffiGmKTR+b0TxvhNpGf8+Tdf3h4zOS fVVawFQyuW2sqxHXgevbshIlRFLy303IV0VJj8f4jniVYpCgI0/e+0OKeXObvL+d qA7Cabv/SStIP5BUR+J4ylZVSedaEvQ51cdL4ESL2Ybw2r6cew9vnOCiZU8LUpnL FBnoZco2114YYw+4RKsvS1Q+3gphP5SBk7nkTVf2OpgATuVxqvpvfrzUY6Rxa7hA /Qc4XH41slxbkM3FwPuEcUtvdrPHIIBuvAsgB31C6JWVsbPBcEvwToUNTNxW4SiX 5iaXpMsImsjK4Z1ia/lnK0CqYx9nskGnbJgKEAmHcVhXJ+LKOBE1cFLd0GLFcHHS hf1X/9YOi/nJCLWA9vTYDlwODpG0RSP3HZZET3t+GOnjdfIQo5VqpBXVmLVcUiQ7 jUy8j6ZG0G9GL1ys28M9BSHse3jYv2ltAlD8idorKLGuhvynauCFXjsLapD+F7iD NFdRLI8N4oI0usEiGKlv =Eklk -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--