this post was submitted on 06 Sep 2024
615 points (90.6% liked)

linuxmemes

20880 readers
10 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 53 points 2 months ago (5 children)

Windows and NTFS support case sensitive filenames. The functionality is disabled for compatibility reasons.

[–] [email protected] 10 points 2 months ago (1 children)

I remember the good old days of Windows MS-DOS where they had an 8 character filename limit lol

[–] [email protected] 11 points 2 months ago (1 children)
[–] [email protected] 6 points 2 months ago (1 children)

Gotta go count my files again... oh yeah it's PROJE~14.BAS

[–] [email protected] 5 points 2 months ago (1 children)

haha that was so infuriating. if their intent was to bastardize the filename horribly to make it noticeable that you defied the DOS limitation, they certainly succeeded. Yuck, totally forgot about the ~1 thing!

[–] [email protected] 5 points 2 months ago

Funnily enough you can have up to 65536 files in a directory in FAT, so you could technically end up with PR~65536.BAS

[–] [email protected] 6 points 2 months ago

Same on macOS. Apple has "case-sensitive HFS+" as an option for UNIX compatibility (or at least they used to) but actually running a system on it is a bad idea in general.

[–] [email protected] 4 points 2 months ago (1 children)
[–] [email protected] 2 points 2 months ago

I actually really like that fsutil case sensitivity can be set on a folder by folder basis so that I can have a safe space to deal with Linux files.

[–] [email protected] 4 points 2 months ago (1 children)

What happens if i put case sensitive files into an ntfs pendrive and plugged into windows?

[–] [email protected] 4 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

Can it rename it then? What happens if cd into a folder from cmd with same name?

[–] [email protected] 0 points 2 months ago

Windows gets confused, I don't remember what exactly happens.

[–] [email protected] 2 points 2 months ago

You can create files with the same name differing only by case through WSL. I've had issues with it before.