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: ntfs ObCaseInsensitive & cygwin?



"Corinna Vinschen" <corinna-cygwin@cygwin.com> wrote in message 20070731064155.GA18253@calimero.vinschen.de">news:20070731064155.GA18253@calimero.vinschen.de...
On Jul 31 11:21, Morgan Read wrote:
Hi Folks

Lots of refs to the case sensitivity nightmare in archives, but couldn't
find any to ntfs' obcaseinsensitive registry option
(HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\
dword:ObCaseInsensitive see here: http://support.microsoft.com/kb/817921)

So, does anyone know:
* If this provides case sensitivity to cygwin (as it seems to to
SFU/Interix)?



* If there's a way to query the system to see if it "thinks" it's
working?...

Only under a non-Win32 subsystem.

Umm.. CreateFile() is a win32 API command.
http://msdn2.microsoft.com/en-US/library/aa363858.aspx
It supports a "FILE_FLAG_POSIX_SEMANTICS" attribute, which claims to allow case sesitive files? Does that not do anything? I would have thought that would give case sensitive access through the win32 API if ObCaseInsensitive was set to 0.


I agree however, that for the most part the Win32 subsystem's API does not really have much support for case-sensitive access.
It would make better sense to utilize the native NT API for case sensitive access.




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