delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/31/15:40:34

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Joe Smith" <unknown_kev_cat AT hotmail DOT com>
Subject: Re: ntfs ObCaseInsensitive & cygwin?
Date: Tue, 31 Jul 2007 15:39:45 -0400
Lines: 34
Message-ID: <f8o364$obs$1@sea.gmane.org>
References: <f8lro4$35m$1 AT sea DOT gmane DOT org> <20070731064155 DOT GA18253 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

"Corinna Vinschen" <corinna-cygwin AT cygwin DOT com> wrote in message 
news:20070731064155 DOT GA18253 AT calimero DOT vinschen DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019