Skip to content
← Fully Opinionated
Edition 033 · work · Lcamtuf

Memory is a file

The Linux /proc filesystem reveals that everything, including process memory, is a file. This simplifies interaction and standardisation.

Memory is a file
FO Take · Score 75

It’s all just files, apparently. This elegant simplicity underpins robust systems, yet corporate IT departments insist on abstracting everything into byzantine ‘services’ and ‘platforms’. They create complexity where none is needed, fostering dependency and obscuring fundamental truths. Embrace the file system, reject the bloat. Why do we tolerate this unnecessary obfuscation?

The strongest counter

While the “everything is a file” philosophy offers conceptual elegance, direct interaction with /proc/mem is often too low-level for practical application. Abstractions, when done correctly, enhance productivity and security for most developers.

Audit trail
  • ·/proc filesystem
  • ·Linux internals
  • ·System design
Read original source →