News for hackers. Stuff that matters.
Re:Not knowing the /proc file system by JdeBP on Wednesday October 25, 2023 @12:17PM (#38014366)
The 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.

Re:Not knowing the /proc file system by AndrewDavis on Wednesday October 25, 2023 @04:09PM (#38017664)
Roger 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_f...

Re:Not knowing the /proc file system by yakubin on Thursday October 26, 2023 @01:59AM (#38022149)
By default, FreeBSD, just like OpenBSD, doesn’t have a /proc. I’m actually running a server without it.