276
submitted 3 months ago by jeffw@lemmy.world to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] magic_smoke@links.hackliberty.org 9 points 3 months ago* (last edited 3 months ago)

Linux might have a similar file name restriction, but what's more important IMO, is the obnoxious file path restrictions NTFS has.

Naming a file less than 255 chars is a lot easier than keeping its path down.

Limiting file name is one thing, but dealing with limited path lengths when trying to move a custies folder full of subdir on subdirs is obnoxious when the share name its being transferred to makes it just too long.

[-] austinfloyd@ttrpg.network 1 points 3 months ago* (last edited 3 months ago)

Can't you work around that with the extended length prefix of \\?\ (\\?\C:\whateverlongpathhere\)? Though admittedly, it is a pain in the ass to use.

(edited for clarity and formatting)

[-] austinfloyd@ttrpg.network 3 points 3 months ago
[-] magic_smoke@links.hackliberty.org 3 points 3 months ago* (last edited 3 months ago)

That would unfortunately require me to edit GPO I have non control over. I could temporarily knock it out with regedit but I don't know if it'd be tossed next gpupdate, I'd have to check.

[-] austinfloyd@ttrpg.network 1 points 3 months ago

Bummer. The '\?' prefix will work regardless of registry setting, though it's a pain to remember each time.

[-] rdri@lemmy.world -2 points 3 months ago

True. Problem is, moving from more restricted system to less restricted system is a breeze, but painful otherwise. Linux is in a position where it would benefit from any little thing. People trying to switch to Linux will find path length feels like an upgrade, but file name limitation is clearly a downgrade.

[-] magic_smoke@links.hackliberty.org 4 points 3 months ago* (last edited 3 months ago)

What are you guys naming your files anyways? No more than four words in lower snake case, as the Machine Spirit intended.

[-] rdri@lemmy.world 3 points 3 months ago* (last edited 3 months ago)

I guess something like ようこそ『追放者ギルド』へ ~無能なSランクパーティがどんどん有能な冒険者を追放するので、最弱を集めて最強ギルドを創ります~ 1 (ドラゴンコミックスエイジ) - 荒木 佑輔.epub - 92 characters, but 246 bytes. Where on Windows this file hits 35% of the limit, on Linux it hits 96%.

The file is not some rare case. It's from a torrent, uploaded somewhere just today. There are tons of files like this with slightly or much longer names. As of 2024, they can't be served by Linux. Not in a pure file form, that is.

[-] magic_smoke@links.hackliberty.org 1 points 3 months ago

Yeah I suppose that would get in the way.

this post was submitted on 17 Aug 2024
276 points (94.2% liked)

Technology

59559 readers
1965 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS