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 identif

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 > cr

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 fo

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, when

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 s

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 te

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 differe

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 m

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-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 X

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 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 En

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 > > [...] > > NTSTATUS status; > IO_STATUS_BLOCK io; > FILE_NETWORK_OPEN_INFORMATION fnoi; > > status = NtQueryInforma

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

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

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

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

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. > > > Paralle

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 b