Linux Technical Debt: A Visual Explanation (Directory Entries/struct dirent) @JodyBruchon
Linux Technical Debt: A Visual Explanation (Directory Entries/struct dirent)  @JodyBruchon
Uploaded July 2024 | Updated November 2026, 3 days ago
This is a technical explanation of why the "record length" used in Linux directory entries is useless nonsense and why having the length of the actual file name instead would be much more useful. In 1995, Linus Torvalds blasted the "d_namlen" extension to a struct dirent, saying "d_reclen" made a lot more sense. He was wrong. He was also young and still learning a lot, so I don't blame him for making this mistake. Unfortunately, this bad decision became a source of "technical debt" in Linux (tech debt is when something is put in place earlier in a project that's not the best way to do something and other things get built on top of it, making it harder and harder to fix or replace it later).
Linux Technical Debt: A Visual Explanation (Directory Entries/struct dirent)Half The Price, Double The Speed?! (AC1200 vs AC1900 vs AX1500 vs AX4400)All The Microphones Ive Used (And How I Use Them)We Need To Go Back To A Frutiger Aero WorldABORTED Rollin Ramble: The Living Wage Idea Is Total BS (Mic Failure)COMMENT SMACK BACK: Celerons Are JUNKRacism, Bullying, and Quitting Pizza HutNo One Should Get Legally Married AnymoreToshiba Satellite L755D Disassembly, Hinge Relief, and Hinge Mount RepairHow File Duplicate Finders Like jdupes Work, Visually Explained...And Why Its So Fast!This Dell Precision 3650 Has Serious IssuesKeeping A New Operating System Pure
Jody Bruchon |

Linux Technical Debt: A Visual Explanation (Directory Entries/struct dirent)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER