This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64-bit file operations (lseek64() etc) misbehaving


On Mar 31 17:36, Igor Pechtchanski wrote:
> Mike,
> 
> Please make sure your mailer respects the Reply-To: header.  Thanks.
> 
> Frankly, I don't see any reason why open() *wouldn't* succeed on
> \\.\PhysicalDrive0...  All it'll do is recognize a Win32 pathname (because
> of the '\'), and pass it along to Windows.  OTOH, Cygwin will not see this
> name as special -- from Cygwin's point of view it's just another file.  So
> any operations invoked on it (including "open") will be regular Windows
> file calls, not special ones (e.g., NtOpenFile with the right attributes,
> as done in fhandler_dev_raw::open).  This might be the reason for your
> initial problem.
> 	Igor

Perfect explanation, Igor!

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]