4 ms·
I believe that the /proc filesystem first appeared commercially in Solaris, and was then adopted and expanded in Linux. I got an SDF account recently, and was
by chasil 3y ago
I believe that the /proc filesystem first appeared commercially in Solaris, and was then adopted and expanded in Linux.
I got an SDF account recently, and was surprised to find it in NetBSD. OpenBSD has great resistance to it.
...looking at the wiki, many more kernels implement /proc:
"Many Unix-like operating systems support the proc filesystem, including Solaris, IRIX, Tru64 UNIX, BSD, Linux, IBM AIX, QNX, and Plan 9 from Bell Labs."
https://en.wikipedia.org/wiki/Procfs https://en.wikipedia.org/wiki/Procfs
- JdeBP 3y agoThe problem is Wikipedia being misleading again. They each support a proc filesystem. There is no single the proc filesystem that they support. A case in point: FreeBSD's /proc is very different to Linux's /proc, and most of what one would go to /proc on Linux for is obtained via sysctl() on FreeBSD, with a lot less in the way of machine readable → human readable → machine readable busywork formatting and re-parsing involved.
- AndrewDavis 3y agoRoger Faulkner's 1991 paper is good read. The /proc he describes looks alien if you come from a Linux only background. https://www.usenix.org/sites/default/files/usenix_winter91_faulkner.pdf https://www.usenix.org/sites/default/files/usenix_winter91_f...
- yakubin 3y agoBy default, FreeBSD, just like OpenBSD, doesn’t have a /proc. I’m actually running a server without it.
- yakubin 3y ago/proc appeared in late versions of original Unix. That’s where BSDs inherited it from before ripping it out.