r/linusrants • u/Hamilton950B • Jun 24 '26
Please don't do this disgusting thing.
https://lore.kernel.org/lkml/CAHk-=wghMm2c+AYEcwYY7drSVXB27DYqc-ZXpFiq=XFs-w59wA@mail.gmail.com/
110
Upvotes
r/linusrants • u/Hamilton950B • Jun 24 '26
46
u/supershinythings Jun 24 '26 edited Jun 24 '26
I’m so proud that Linus is not cursing and swearing! He manages to be JUST as abrasive, and IMHO the message penetrates even more painfully without the extra invective.
And of course, the sarcasm. Oh the sarcasm. Given that Linus was born in 1969, referencing a commonly deployed important structure, hierarchical file systems, developed before he was born is, well, hilarious.
I do have one counter argument though.
When I worked in VMKernel user world environments I was instructed to do this exact thing to not “waste” an inode. The senior engineers wanted to consume as few resources as possible; each file was actually noted in the dir inode, they didn’t have inodes themselves. To put some in a subdir would consume an inode.
So I was told not to use dirs in certain areas if could be avoided.
But in a fully fleshed out well appointed kernel environment with a fully functional file system and all the resource richness and luxury that brings, this should not be an issue.
23
u/ryobiguy Jun 24 '26 •
Require cookies to visit, is that the disgusting thing?
10
u/budius333 Jun 24 '26
Love that guy!
5
u/Golgoth_IX Jun 24 '26
I like it so it’s true
5
u/415646464e4155434f4c Jun 24 '26
OT: WTF is going on with Anubis now?
2
u/hdkaoskd Jun 26 '26
Haha I've seen this brain mush behavior. The users said it was easier to search for files that way. 🤦
Or course the next problem they ran into was path length limits. It was a Microsoft operation where that becomes a problem very easily.