I ran into it more than once back in the day when I used Mac OS X as my primary OS.
More generally -- case sensitivity is a conceptual nightmare in the Unicode era. Should Cyrillic or Greek be case-insensitive as well? Etc. Do you really want the full complexity of Unicode string handling in your file system?
I would suggest treating file names like raw bytes. On modern Linux, anything but NUL is valid.
And slash/!
Another weird thing in macOS:
$ mkdir Cased
$ cd cased
$ pwd
/Users/me/Downloads/cased
$ cd ../Cased && pwd
/Users/me/Downloads/Cased
So yeah I wish the FS defaulted to sensitive, even though I never rely on that. Not its job to normalize names. -L Display the logical current working directory.
-P Display the physical current working directory (all symbolic links resolved).
If no options are specified, the -L option is assumed.
In your example, using `-P` will show `Cased`.Interestingly, it wasn't designed to deal with case, but to select whether to resolve symbolic links:
$ cd /tmp
$ mkdir a
$ ln -s a b
$ cd b
$ pwd && pwd -P
/tmp/b
/tmp/ahttps://manpages.ubuntu.com/manpages/stonking/man1/pwd.1.htm...
You would be asking for a world of hurt to put your root filesystem in a case-sensitive volume though. All sorts of software and applications have silently relied on case-insensitivity for decades. You can sometimes fix it on a case-by-case basis, but sometimes you can't, and it's also annoying for it to happen in the first place. Better to have a separate case-sensitive volume just for the stuff you want to be case-sensitive.
My main concern is the loose matching that comes with it where you can refer to any file or folder using any case without issue
There are workarounds, and containerization is a better idea, but you asked why you might want this.