this post was submitted on 25 Apr 2025
276 points (97.6% liked)

Linux

7107 readers
991 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] TomasEkeli@programming.dev 11 points 1 day ago

Conversely: that two files that differ in name only by non-visible and humanly-impossible-to-detect details is an enormous user-experience fail.

[–] phoenixz@lemmy.ca 29 points 2 days ago (1 children)

What the hell phoronix, why are you using that cookie vendor that will sell your data to 46396 parties and no worries, you can stop it by deselecting each one of them! You can either accept or spend the day disabling this shit.

If that's how it's going to be, phoronix is done for me, sorry. I'd love to support your work even, but not with this

[–] bitcrafter@programming.dev 1 points 1 day ago

Yeah, I tried disabling my ad blocker to support them, but the page does not show ads even then and complains as if it were still active, and I think it is because I left Privacy Badger on. There is no way I am turning that off, so too bad for them!

Heck, I would even consider subscribing, but it looks like one first needs to create a forum account before one can even see the subscription price‽ What a very weird site...

[–] driving_crooner@lemmy.eco.br 6 points 1 day ago (1 children)

What about case insensitive programming languages?

Im a python programmer so I'm used to it, but my coworkers are SAS programmers that is case insensitive and they keep getting errors when trying to write python because of that.

[–] pinball_wizard@lemmy.zip 4 points 1 day ago* (last edited 1 day ago)

Ouch. Relying on case sensitivity is a lousy coding choice, anyway. No one is made better off by having a case change carry meaning.

Edit: Before anyone asks, I like case convention as a courtesy, too. But my code doesn't rely on it.

[–] mlg@lemmy.world 9 points 1 day ago (3 children)

TIL case insensitive filesystems are still a thing actually in use.

Why lol

[–] Valmond@lemmy.world 10 points 1 day ago (1 children)
[–] mlg@lemmy.world 12 points 1 day ago (1 children)

Believe it or not, NTFS isn't, but Windows is to keep ye olde DOS compatibility lol.

[–] JackbyDev@programming.dev 2 points 1 day ago

Mac's APFS is like this too, to an extent. I don't know the details but it's also in that gray area.

[–] jessca@lemmy.ca 6 points 1 day ago

I believe macOS's default partition is case-insensitive but not case-preserving. I remember having to check the HUnit (unit testing library for Haskell) in a special partition because darcs barfed on a file whose case changed.

I remember that the BeFS in BeOS was also case-preserving but not case-sensitive. Scot Hacker, the author of the BeOS Bible, relayed an explanation that resonated with him. (Bear in mind that this was pre-2000 and the computing landscape was much different. This was also the time that macOS was born in.)

The short of it is that it's for usability. The average person doesn't really differentiate between upper- and lowercase; at most, it's just aesthetics. If they want to find their resume, they don't care if it's spelled resume, Resume, RESUME, or even rEsUmE. Why should the computer require that they conform to a design decision that was made decades prior?

Since then, the world has changed again and the average user of today is even further isolated from the internals of a system. And what was a good idea in 1997 may not longer be relevant now.

[–] easily3667@lemmus.org 0 points 1 day ago* (last edited 1 day ago)

Because I'm a person not a robot. I don't use ASCII codes to sort information, so why does my tool?

I disagree with most of his rant but this part is right

Dammit. Case sensitivity is a BUG. The fact that filesystem people still think it's a feature, I cannot understand.

[–] cupcakezealot@lemmy.blahaj.zone 45 points 2 days ago (2 children)

remember when windows could only handle 8 characters and longer names ended in ~1

[–] easily3667@lemmus.org 1 points 1 day ago

No because that's not a thing in the way you've described it

[–] Scrollone@feddit.it 26 points 2 days ago

To be precise, longer names ending with ~1 are a backwards compatible fix for DOS programs introduced after Windows started supporting longer filenames.

[–] AnotherPenguin@programming.dev 61 points 2 days ago* (last edited 2 days ago) (1 children)

I prefer case sensitivity, the filesystem shouldn't do any magic like that. If someone types "file.txt", opening "File.TXT" would be convenient, but also misleading. Ignoring case is what autocompletion/search is for imo.

[–] piccolo@sh.itjust.works 30 points 2 days ago (2 children)

The best things is when the OS enforces magic onto the filesystem. Ntfs is case sensitive but windoze is not. So expect some real fun times if you use ntfs on other systems.

[–] JackbyDev@programming.dev 1 points 1 day ago

Trying to rename a file to use the correct capitalization in a git repository on my Windows laptop for work was tricky. Or maybe it was subversion. Actually I think it was subversion. Either way it was a weird little puzzle for the day.

[–] h0rnman@lemmy.dbzer0.com 29 points 2 days ago (1 children)

For real. It's a ton of fun when you have a Linux server presenting a SMB share and you get a folder called MyFolder and one called MYFOLDER. Take a guess about what happens in that situation. I guarantee it's different

[–] absGeekNZ@lemmy.nz 3 points 1 day ago

I have a folder called backup and one called Backup shared over SMB... It is always Backup that gets opned.

Minor issue....NFS auto mount on most of my systems.

[–] uis@lemm.ee 11 points 2 days ago

Such insensetivity!

[–] fubo@lemmy.world 75 points 3 days ago (43 children)

I recall a case-insensitivity bug from the early days of Mac OS X.

There are three command-line utilities that are distributed as part of the Perl HTTP library: GET, HEAD, and POST. These are for performing the HTTP operations of those names from the command line.

But there's also a POSIX-standard utility for extracting the first few lines of a text file. It's called head.

I think you see where I'm going with this. HEAD and head are the same name in a case-insensitive filesystem such as the classic Mac filesystem. They are different names on a Unix-style filesystem.

Installing /usr/bin/HEAD from libwww-perl onto a Mac with the classic filesystem overwrote /usr/bin/head and broke various things.

[–] Jessica@discuss.tchncs.de 10 points 2 days ago

Hey I have one of these case sensitive Mac OS X stories as well!

I gave it a try one time, and I found out the hard way some developers don't test everything in a case sensitive environment. I don't remember what specifically went wrong, but Adium, The instant messaging client, blew up because it couldn't find certain files on the local hard drive.

load more comments (42 replies)
[–] some_guy@lemmy.sdf.org 5 points 2 days ago (1 children)

Though I use a case-insensitive filesystem (APFS), I name all files lowercase with underscores and no spaces. Dates get hyphens. Example for purchase receipt to a show I'm about to attend: bloody_beetroots_2025-03-28.pdf

[–] timbuck2themoon@sh.itjust.works 6 points 1 day ago (1 children)

ISO 8601? A man of culture I see.

[–] some_guy@lemmy.sdf.org 3 points 1 day ago (1 children)

It's the only sane dating system.

[–] JackbyDev@programming.dev 1 points 1 day ago

It's so funny to me that humans use numbers that are big to small, but some people are that dates should be small to big. Maybe other languages do it differently. But UK folks saying day month year is better while writing the individual number big to small is so wacky to me. Today is 2025-04-27. If they said it like "7 and 20, April, 5 and 20 two thousand" it might make more sense, but no, it's "27 April 2025".

[–] FizzyOrange@programming.dev 18 points 2 days ago (9 children)

Damn straight. I thought bcachefs was a modern filesystem? Why is it case insensitive? Huge red flag.

[–] cm0002@lemmy.world 20 points 2 days ago

Isn't bcache the one made by the solo dev who was causing all that drama trying to merge a bunch of crap during a freeze last year?

If so that explains quite a bit lmao

load more comments (8 replies)
load more comments
view more: next ›