3 ms·
> One of the core problems of Unix is this focus on textual streams. > ...every proc-style file You're conflating Linux with UNIX, wrt what /proc emits[0], or
by bch 11y ago
> One of the core problems of Unix is this focus on textual streams.
> ...every proc-style file
You're conflating Linux with UNIX, wrt what /proc emits[0], or if it's even the interface to do what you think you want[1].
[0] https://illumos.org/man/4/proc https://illumos.org/man/4/proc
[1] /proc/mounts vs getmntinfo(3)[2]
[2] https://www.freebsd.org/cgi/man.cgi?query=getmntinfo https://www.freebsd.org/cgi/man.cgi?query=getmntinfo
- white-flame 11y agoText-based virtual files also predominantly feature in the Plan9 model, if I'm reading it correctly, which is why I bring it up.