From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1334 invoked by alias); 23 Oct 2014 12:42:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1314 invoked by uid 89); 23 Oct 2014 12:42:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 23 Oct 2014 12:42:07 +0000 Received: from [192.168.2.107] (dslb-088-073-011-163.088.073.pools.vodafone-ip.de [88.73.11.163]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0M0i2I-1Xy84j2r8Q-00uoc5; Thu, 23 Oct 2014 14:42:03 +0200 Message-ID: <5448F79A.6010900@towo.net> Date: Thu, 23 Oct 2014 12:42:00 -0000 From: Thomas Wolff User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Problems on case-sensitive file systems References: <54475648.3000805@towo.net> <20141022140031.GD18857@calimero.vinschen.de> In-Reply-To: <20141022140031.GD18857@calimero.vinschen.de> X-TagToolbar-Keys: D20141023144159242 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1; X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00358.txt.bz2 Am 22.10.2014 16:00, schrieb Corinna Vinschen: > On Oct 22 09:01, Thomas Wolff wrote: >> I'm facing a number of issues with case-sensitivity which I've collected: >> >> There is a documented limitation on case-sensitivity using drive letter >> paths, >> also mentioned in https://sourceware.org/ml/cygwin/2013-08/msg00090.html >> (last item). I vaguely remember seeing a reason for this limitation in some >> mail but can't find it again. I think it would be good to remove this >> limitation because it breaks user expectations when working on >> case-sensitive drives. > The user expectation when using DOS paths is caseinsensitivity in the > first place. But, as usual, there's no way to do this right, since > somebody will have another POV. My stance is, don't use DOS paths when > using Cygwin. At leats don't use DOS paths if you have any expectations > about special POSIX path handling on Cygwin. I use an application that uses Windows or mixed paths, I cannot influence it. So while I understand your POV, it would still be helpful to have path interpretation fully-featured. (If you point me to a place in winsup, I might even try to do something myself.) >> According to documentation, the posix mount flag is enforced to be the same >> for all mounts below /cygdrive; is there a strong reason? > Yes. The flags are shared between all cygdrive paths. If you need > something else, don;'t use the cygdrive path, but another, manually > added mount point. Note that this: > > none /cygdrive cygdrive binary,posix=0,user 0 0 > D: /cygdrive/d ntfs binary,nouser,posix=1,noumount 0 0 > > does NOT work. The manual paths must not overlap with the cygdrive > paths. I know and I did use a different path (maybe too similar to get recognized...). But it does not seem to work properly: I have now this in /etc/fstab: C: /mnt/c ntfs binary,nouser,posix=1,noumount 0 0 T: /mnt/t smbfs binary,user,posix=1,noumount,auto 0 0 which has no effect at all. Neither are these mounts set automatically when starting cygwin, nor can I refer to them by 'mount /mnt/t' ("mount: can't find /mnt/t in /etc/fstab or in /etc/fstab.d/$USER") or 'mount -a' (no effect). The only thing that works is manual mounting: mount -o posix=1 C: /mnt/c mount -o posix=1,exec T: /mnt/t But: while case-sensitivity now works in /mnt/c, it still does not in /mnt/t. As a minor side-effect, the mount points in /cygdrive of these two drives now disappear from the list shown by 'mount' although they are still available as duplicate mounts. ------ Thomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple