X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Joe Smith" Subject: Re: ntfs ObCaseInsensitive & cygwin? Date: Tue, 31 Jul 2007 15:39:45 -0400 Lines: 34 Message-ID: References: <20070731064155 DOT GA18253 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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/