www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=xioW3HvtKUQ1q4rl30b+LmnBvMumYVPT2iIrnaVWLOT7KDiTf1LX+ | |
pAb1Zm7+IXL0oJOfZ6xNKeszY6WeZlBNE37lrjHCzV/Sl1Wa4QUFem8B7pxg1AOM | |
v2TqstWPdk8Ark4wDo6ezHP8knWN6rIQ3yy8L38bGdp2h3QckLavcA= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=2EIxnOk5ZVRzlV/uDggww2f0C7s=; b=TqdZ8b4b/TMhsJPDGSGsAbEdnvfr | |
E47hZbPMGIRxw479LTqzqFvwQ1LpZOxpo9xDddfrU17aL5AVjbWg2Miq0NcTig0t | |
i66Ez/CFzagTyN0LKgAyh7UrnGKiYeKt8PF6XfifpF3puiaCasIuFTLIy5OiPd3f | |
QAcITAEOFqwA3tw= | |
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 |
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 |
Date: | Mon, 2 Nov 2015 15:06:27 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: fstat st_size on open files on Parallels filesystem is wrong |
Message-ID: | <20151102140627.GA963@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20140422081628 DOT GC2339 AT calimero DOT vinschen DOT de> <21334 DOT 55207 DOT 784319 DOT 488271 AT compute01 DOT cs DOT columbia DOT edu> <20140423084056 DOT GJ2339 AT calimero DOT vinschen DOT de> <21335 DOT 61113 DOT 963950 DOT 516021 AT compute01 DOT cs DOT columbia DOT edu> <20140423172413 DOT GQ2339 AT calimero DOT vinschen DOT de> <22038 DOT 38637 DOT 802707 DOT 846218 AT compute03 DOT cs DOT columbia DOT edu> <20151021110734 DOT GO5319 AT calimero DOT vinschen DOT de> <22071 DOT 12068 DOT 858109 DOT 210047 AT compute03 DOT cs DOT columbia DOT edu> <20151102112334 DOT GC5319 AT calimero DOT vinschen DOT de> <22071 DOT 24647 DOT 434328 DOT 551494 AT compute03 DOT cs DOT columbia DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <22071.24647.434328.551494@compute03.cs.columbia.edu> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 2 08:08, Jonathan Lennox wrote: > On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin AT cygwin DOT co= m" saying: >=20 > > On Nov 2 04:38, Jonathan Lennox wrote: > > > Unfortunately, when I do "Run As Administrator" on MinTTY, the Mac dr= ives > > > (/cygdrive/z and /cygdrive/y) don't show up. I don't know why that is= . So I > > > can't test hard links as administrator. > >=20 > > That's a security feature of UAC. You can change that in the registry. > > As administrator: > >=20 > > regtool -d set /HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current= Version/Policies/System/EnableLinkedConnections 1 > >=20 > > Then reboot. >=20 > Didn't work: >=20 > $ ls /cygdrive/ > c d e >=20 > $ regtool get /HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersi= on/Policies/System/EnableLinkedConnections >=20 ^^^? That should print "1" EnableLinkedConnections is a DWORD value and should be set to 1. > $ uname -a > CYGWIN_NT-10.0 Vidyo-LT0519-10 2.3.0(0.291/5/3) 2015-11-02 11:15 x86_64 C= ygwin >=20 > Is Windows 10 the same? Yes. Works for me. > > I added support for this filesystem (called prlfs in mount output) and > > without hardlink support for now. I uploaded a new developer snapshot > > to https://cygwin.com/snapshots/ Please give it a try. >=20 > No, still seeing the failure in the snapshot: >=20 > $ ./stat-size-test.exe /cygdrive/y/foo ~/foo > /cygdrive/y/foo: fstat: st_size=3D0 > /cygdrive/y/foo: stat: st_size=3D12 > /home/jonathan/foo: fstat: st_size=3D12 > /home/jonathan/foo: stat: st_size=3D12 Weird. There should be no FileNetworkOpenInformation call anymore for Netapp and the PrlSF filesystem. Does Cygwin correctly recognize the FS? What does `mount' print? It should print `type prlfs'. Can you please once again call `/usr/lib/csih/getVolInfo.exe Z:' and `/usr/lib/csih/getVolInfo.exe Y:' and paste the output here? I'm not quite sure because the original getVolInfo call returned a filesystem type of "PrlSF", not "PrlFS" as I had expected. Cygwin now checks for "PrlSF". Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWN23jAAoJEPU2Bp2uRE+g9U8P/1TtYAV25l28/l/9zyprn94K j0lhiJJZ7USrtxm30RP5uoYdLL+DWWA59vv0X07xNsWqM5yo4N1GHZ07ZD9HiUk2 IFoCan8mfuAzrYI3VmxYHbAH5brM+IVJ5DB1RQPpzWZ5buoX6KhcXmlH/B+5g4Zj ASqYF80PqcFrJn/Xj6vCxiXULEvH/q1iniBWhkwOGN0SSEM14BTvToyGiGOPfcDO 5o66aWl+CuWsu+xfJXSAAWIJCQD0q/nbWxkVORYMnBy0YmBvzxr/pVPgIkK3U4dq uUFd1ydNc01F3nKMmnAjptqIsLh5f4aQ4oDsr5S0UNtNMWpe5w3BQj5P2orlHace qEgbIVevCLqmOuiK1Fs8SQgu4vsw7cWb98kbQlwwrS1rmfbK44sqiAuxBse3fKLZ Z/txQAgHHaLKjFyCWnDw0Yc2yptTaMFnPLHt4LXWZWmcIEMP9KYLmTaypy94GsRA PIuCnhY/K+mYNe7UxFfvGPPkxti3zsI3umv52HjrxTna5M4YjRT505A5WHQYGdox ahiSd8bJ51rtF7wS4HGsMa1GhtWBKMtUcWfqJcKcKS8xFgREg9S3wNca39r3PABW U7My8+8sN+PFEjbRBiIqDx8GsPbcbe3BB9zppBYcGkolbpNI1BdfmQj2YcXftZ2I giwO+bq2DjhfCJkPV0zS =GuZb -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |