public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Problems on case-sensitive file systems
Date: Wed, 22 Oct 2014 07:01:00 -0000	[thread overview]
Message-ID: <54475648.3000805@towo.net> (raw)

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. Note I'm not asking about EXFAT (as in that thread)
but using Windows or mixed paths on NTFS or network drives, which should
be easy to transform/normalize for access.

According to documentation, the posix mount flag is enforced to be the same
for all mounts below /cygdrive; is there a strong reason? I think this
is not useful, because you may likely want data drives to be case-sensitive
but it's not good for the Windows system drive (because Windows is so silly
to have something like C:\WINDOWS\system32 in the path while the names are
C:\Windows\System32... as a workaround, I once set a symbolic link into C:\
- ln -s WINDOWS Windows. This worked nicely until I wanted to reboot and it
didn't find it's system folder anymore :( ).

To achieve the desired mount, I tried this:
D: /drives/d ntfs binary,nouser,posix=1,noumount
but somehow it does not seem to work for local drives while it works
nicely for network drives.

mv XY xy does not work if XY is a directory (no effect, no message)

If I switch Windows to case-sensitivity, there is no .EXE magic (only 
.exe magic).
So e.g. PING: command not found, while PING.EXE works.
Well, there are only a few .EXE files around, so this may be acceptable.

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

             reply	other threads:[~2014-10-22  7:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22  7:01 Thomas Wolff [this message]
2014-10-22 13:52 ` Eric Blake
2014-10-22 13:55   ` Corinna Vinschen
2014-10-22 14:00 ` Corinna Vinschen
2014-10-23 12:42   ` Thomas Wolff
2014-10-23 15:36     ` Corinna Vinschen
2014-10-23 17:21       ` Thomas Wolff
2014-10-23 22:05         ` Andrey Repin
2014-10-24  9:55         ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54475648.3000805@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).