News for hackers. Stuff that matters.
Re:Using the Linux kernel's Case-insensitive feature in Ext4 by bxparks on Sunday August 30, 2020 @12:35PM (#24323903)
I definitely prefer case-senstive. I didn't realize that MacOS had switched to case-INsensitve at some point. So the following drove me crazy for several minutes:

$ ls -l /usr/local/bin/virtualbox

-rwxr-xr-x 1 root wheel 77 Oct 2 2015 /usr/local/bin/virtualbox*

$ ls /usr/local/bin | grep virtualbox

<nothing, WTF??>

$ ls /usr/local/bin | grep -i virtualbox

VirtualBox*

My coworker uses MacOS, I use Linux. Several times, changing the case of a directory or file caused the MacOS to mess up the local git repo so badly that we had to blow it away and refetch from remote.

At least the Mac Finder allows changing the case of a filename. Windows File Explorer simply refuses. I change the case of the file name, add a random character, save the file name. Then edit the file name again, remove the random character, save the file name. It's needlessly annoying.

I think case-INsensitive makes more sense for software developers, since there are many instances where things like "string.h" is not the same as "String.h". But for normal people, case-INsensitve may be more useful. However, even for normal users, I think there are situations where "bob.html" (a noun) is different from "Bob.html" (a person).

Re:Using the Linux kernel's Case-insensitive feature in Ext4 by muststopmyths on Sunday August 30, 2020 @12:58PM (#24324080)
>At least the Mac Finder allows changing the case of a filename. Windows File Explorer simply refuses

Just tested on Windows 10 and this is definitely not true. I could have sworn you could always do it, but my memory of Windows < 10 is foggy. And you can also do the renaming from any console app (cmd, powershell, etc), FYI.

NTFS is case-preserving, but case-insensitive. That, IMO is a good balance. When they were first making NT with the posix subsystem, I suppose they found that the number of cases where two files that only differed in case lived in the same directory were small enough to not matter.

I personally don't think case-sensitivity in file names adds anything useful.

Re:Using the Linux kernel's Case-insensitive feature in Ext4 by bxparks on Sunday August 30, 2020 @03:31PM (#24325256)
I swear that my Windows 10 File Explorer had this problem.

Here is a user complaint about this problem from Nov 2019: https://answers.microsoft.com/en-us/windows/forum/all/cant-r...

Here's another post from May 2018, explicitly mentioning Windows 10: https://answers.microsoft.com/en-us/windows/forum/all/why-ca...

But I checked again on my own Windows 10 machine (Windows 10 Pro, Version 2004, build 19041.450) and holy shit, it now works. It must have been fixed in a recent Window 10 update.

Re:Using the Linux kernel's Case-insensitive feature in Ext4 by tiraniddo on Sunday August 30, 2020 @01:17PM (#24324233)
If you enabled the posix subsystem NTFS became case sensitive as well, although most API passed a flag to disable that for Win32 file calls.

It’s interesting that Microsoft effectively added the reverse feature to NTFS [1] to support per-directory case sensitive files to be more compatible with Linux.

[1] https://www.tiraniddo.dev/2019/02/ntfs-case-sensitivity-on-w...

Re:Using the Linux kernel's Case-insensitive feature in Ext4 by zerocrates on Sunday August 30, 2020 @01:07PM (#24324145)
Mac has been (at least by default) case-insensitive for a very long time, back to the original HFS at least, and probably its predecessor MFS too, though I'm not sure on that one.
Re:Using the Linux kernel's Case-insensitive feature in Ext4 by bxparks on Sunday August 30, 2020 @03:34PM (#24325279)
I thought that I had used Macs with HFS+ filesystem that was case-sensitive a long time ago, but I'm not 100% sure anymore.
Re:Using the Linux kernel's Case-insensitive feature in Ext4 by kstrauser on Sunday August 30, 2020 @08:51PM (#24327430)
You might've. It's a format-time option and has been for as long as I've used OS X.