
Can confirm; user is file too
Stages of POSIX enlightenment:
- It couldn’t possibly all be files
- It’s all files
- What is a file, anyway?
- There’s no such thing as a file
- It couldn’t possibly all be files
- Everything is a file
Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you’ve finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell you how to reach stage 6, you must discover it for yourself.
Am I a file?
Hope your name isn’t Peter
It makes more sense when you realize that it’s not that everything is files it’s that everything can be treated as a file. There are other APIs to interact with things, but everything can be interacted with as if it was a file. It doesn’t seem as bonkers like this.
Exactly. A file is really just a way to understand a collection of bits. So saying everything is files is like saying everything in computers can be described as sets of bits, which is not a terrible heuristic.
It’s like saying everything is a wave IRL.
Especially the particles
Files don’t actually exist once you dig down
Bro stop digging I need those files to keep existing






