Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-04 Thread Corinna Vinschen
On Nov 4 01:35, Jonathan Lennox wrote: > On Tuesday, November 3 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" > saying: > > > 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

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-03 Thread Corinna Vinschen
On Nov 2 17:05, Jonathan Lennox wrote: > On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" > saying: > > > On Nov 2 08:08, Jonathan Lennox wrote: > > > On Monday, November 2 2015, "Corinna Vinschen" wrote to > > > "cygwin@cygwin.com" saying: > > > > I added support

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-03 Thread Jonathan Lennox
On Tuesday, November 3 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > 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 >

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Jonathan Lennox
On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > On Nov 2 04:38, Jonathan Lennox wrote: > > Unfortunately, when I do "Run As Administrator" on MinTTY, the Mac drives > > (/cygdrive/z and /cygdrive/y) don't show up. I don't know why that is. So I > > can't

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Jonathan Lennox
On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > On Nov 2 08:08, Jonathan Lennox wrote: > > On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" > > saying: > > > > > On Nov 2 04:38, Jonathan Lennox wrote: > > > > Unfortunately,

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Jonathan Lennox
On Wednesday, October 21 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > On Oct 8 12:16, Jonathan Lennox wrote: > > Hi, following up on this issue from last year. The message I'm replying to > > is at . > > > > The problem is

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Corinna Vinschen
On Nov 2 04:38, Jonathan Lennox wrote: > On Wednesday, October 21 2015, "Corinna Vinschen" wrote to > "cygwin@cygwin.com" saying: > > On Oct 8 12:16, Jonathan Lennox wrote: > > > No such luck, despite two major version revisions of Parallels Desktop > > > (I'm > > > now on version 11.0.2) and

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Corinna Vinschen
On Nov 2 08:08, Jonathan Lennox wrote: > On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" > saying: > > > On Nov 2 04:38, Jonathan Lennox wrote: > > > Unfortunately, when I do "Run As Administrator" on MinTTY, the Mac drives > > > (/cygdrive/z and /cygdrive/y) don't

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread cyg Simple
On 11/2/2015 4:38 AM, Jonathan Lennox wrote: > > Unfortunately, when I do "Run As Administrator" on MinTTY, the Mac drives > (/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. > This is due to "Run As Administrator" is a

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-10-21 Thread Corinna Vinschen
On Oct 8 12:16, Jonathan Lennox wrote: > Hi, following up on this issue from last year. The message I'm replying to > is at . > > The problem is weird behavior in Parallels Desktop-hosted Windows VMs, when > accessing the host's native Mac OS

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-10-08 Thread Jonathan Lennox
Hi, following up on this issue from last year. The message I'm replying to is at . The problem is weird behavior in Parallels Desktop-hosted Windows VMs, when accessing the host's native Mac OS X filesystem. See the thread for the details. On

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-23 Thread Corinna Vinschen
On Apr 22 16:57, len...@cs.columbia.edu wrote: On Tuesday, April 22 2014, Corinna Vinschen wrote to cygwin at cygwin.com saying: On Apr 21 14:46, lennox at cs.columbia.edu wrote: [...] This is using Posix APIs -- open() / write() -- not C APIs, fopen() / fwrite(), so there shouldn't

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-23 Thread lennox
On Wednesday, April 23 2014, Corinna Vinschen wrote to cygwin at cygwin.com saying: Rather than calling GetFileInformationByHandle, try this #include winternl.h [...] NTSTATUS status; IO_STATUS_BLOCK io; FILE_NETWORK_OPEN_INFORMATION fnoi; status =

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-23 Thread Corinna Vinschen
On Apr 23 12:47, len...@cs.columbia.edu wrote: On Wednesday, April 23 2014, Corinna Vinschen wrote to cygwin at cygwin.com saying: Rather than calling GetFileInformationByHandle, try this [...] Okay, looks like FileNetworkOpenInformation is succeeding, but returning a bad EndOfFile

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-22 Thread Corinna Vinschen
On Apr 21 14:46, len...@cs.columbia.edu wrote: On Monday, April 21 2014, Andrey Repin wrote to lennox at cs.columbia.edu, cygwin at cygwin.com saying: Greetings, lennox at cs.columbia.edu! I’m running cygwin64 1.7.29 in a Windows 8.1 Pro virtual machine, running in Parallels

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-22 Thread lennox
On Tuesday, April 22 2014, Corinna Vinschen wrote to cygwin at cygwin.com saying: On Apr 21 14:46, lennox at cs.columbia.edu wrote: On Monday, April 21 2014, Andrey Repin wrote to lennox at cs.columbia.edu, cygwin at cygwin.com saying: Greetings, lennox at cs.columbia.edu! I’m

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-22 Thread lennox
On Tuesday, April 22 2014, Corinna Vinschen wrote to cygwin at cygwin.com saying: On Apr 21 14:46, lennox at cs.columbia.edu wrote: On Monday, April 21 2014, Andrey Repin wrote to lennox at cs.columbia.edu, cygwin at cygwin.com saying: Greetings, lennox at cs.columbia.edu! I’m

fstat st_size on open files on Parallels filesystem is wrong

2014-04-21 Thread lennox
I’m running cygwin64 1.7.29 in a Windows 8.1 Pro virtual machine, running in Parallels Desktop 9.0.24229 on Mac OS X 10.9.2. Parallels Desktop automatically mounts my Mac OS X home directory as a Z: drive in Windows. Cygwin mount reports this drive as being type prlsf. Unfortunately, I've

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-21 Thread Andrey Repin
Greetings, len...@cs.columbia.edu! I’m running cygwin64 1.7.29 in a Windows 8.1 Pro virtual machine, running in Parallels Desktop 9.0.24229 on Mac OS X 10.9.2. Parallels Desktop automatically mounts my Mac OS X home directory as a Z: drive in Windows. Cygwin mount reports this drive as

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-21 Thread lennox
On Monday, April 21 2014, Andrey Repin wrote to lennox at cs.columbia.edu, cygwin at cygwin.com saying: Greetings, lennox at cs.columbia.edu! I’m running cygwin64 1.7.29 in a Windows 8.1 Pro virtual machine, running in Parallels Desktop 9.0.24229 on Mac OS X 10.9.2. Parallels Desktop