fstat st_size on open files on Parallels filesystem is wrong
Jonathan Lennox
lennox@cs.columbia.edu
Wed Nov 4 06:35:00 GMT 2015
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
> creating a reproducible serial number from scratch if the original
> serial number is 0, but for testing, I didn't implement this yet.
I've confirmed that this is the case for all the prlsf drives I have (drives
U:-Z:).
> 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
>
> $ strace -o stat.trace ./stat-size-test.exe /cygdrive/y/foo
>
> I'll need to have a look into that strace to (hopefully) see what's
> going wrong.
Attached.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stat.trace
URL: <http://cygwin.com/pipermail/cygwin/attachments/20151104/fce34da7/attachment.ksh>
-------------- next part --------------
--
Jonathan Lennox
lennox@cs.columbia.edu
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list