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).
SUPPORT LINKS
PayPal: paypal.me/Jody...
Ko-Fi: ko-fi.com/L3L0...
Liberapay: liberapay.com/...
SubscribeStar: www.subscribes...
Patreon: / jodybruchon
MY OTHER RU-vid CHANNELS
Jody Bruchon: / jodybruchon
Gazing Cat Productions: / @gazingcatproductions
Jody Bruchon's Stock Footage and VHS Archive: / @jodybruchonstockfootage
FOLLOW ME ON OTHER PLATFORMS
Telegram: t.me/Jody_Bruchon
BitChute: www.bitchute.c...
Odysee: odysee.com/@Jo...
Rumble: rumble.com/c/J...
RU-vid: / jodybruchon
Brighteon: www.brighteon....
Dailymotion: www.dailymotio...
Minds: www.minds.com/...
Locals: jodybruchon.lo...
MY WEBSITES
Personal/programming site: www.jodybrucho...
Video production site: www.gazingcat.com/
Computer repair site: nctritech.com/
jdupes Duplicate File Finder: www.jdupes.com/
13 июл 2024