home tags events about login
one honk maybe more

benjojo posted 27 Nov 2025 11:01 +0000

This MacOS (APFS?) quirk was mentioned at the pub last night, and I still cannot believe this actually works when I tried it myself

A terminal showing the command "ssh" being run and then the same output when "ßh" is run

mirabilos@toot.mirbs.. replied 27 Nov 2025 18:29 +0000
in reply to: https://techhub.social/users/snornik/statuses/115621769247158041

@cstross @snornik @benjojo @kdawson it’s a quirk of OSX: it uses NFD for UTF-8, and ß canonically decomposes into ss, and pathname accesses on HFS+ and the likes are checked against the decomposed pathname.

Now I’d be interested in whether it also does that for NFS and/or for say ext2fs and FAT if it can mount them (then the NFD happens at VFS layer) or just for its own filesystems.

markd@hachyderm.io replied 27 Nov 2025 21:40 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/bH54xnxp4zYLkVb411

@benjojo @tml @skab Seems like a bit of a troll post. After all, using "cd" and "ls" suggests being stuck in the - heaven forbid - 1960s as well, right?

There's also the minor matter that "type" is a shell built-in which of course means that if you use a modern or exotic shell then it may or may not work.

And by modern or exotic I definitely don't mean bash which itself originated in the 1980s. Sure hope the OP isn't stuck using *that* archaic shell.

zkat@toot.cat replied 27 Nov 2025 17:22 +0000
in reply to: https://eepy.moe/notes/afl9epu4pw8d0yct

@julia @benjojo programs that check for conflicts manually when putting stuff in the file system won’t know to check for this “quirk”, leading to the same potential conflicts as case insensitivity but worse because who tf expects this. Think, for example, package managers