ntfs ObCaseInsensitive & cygwin?

Joe Smith unknown_kev_cat@hotmail.com
Tue Jul 31 19:40:00 GMT 2007


"Corinna Vinschen" <corinna-cygwin@cygwin.com> wrote in message 
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/



More information about the Cygwin mailing list