Did you know openBSD does not have this folder? I think the BSD's do not use /proc. I do not know why though.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
/proc is quite useful when it comes to hiding root on Android.
Damn, I really could have made a lot of use of this over the last 20+ years.. Thanks for sharing!
I seem to recall in an Operating Systems class we wrote a kernel module and communicated with it through the proc interface?
I may have been through "SysFS" as well? In /sys/class you can setup char dev IO with a kernel module (and more). Very helpful for userspace <-> kernel communication (like DMA drivers for userspace applications)
Hmm yeah maybe it was /sys, it’s been so long I can’t remember.
I seem to recall echoing into a file to set some value which we then checked the value of in the kernel module code. It was just a hello world type of thing for a college class.
Thank you for sharing this. Got a new creator to check out now!
It's wonderful but can be less complete or even missing typically due to settings (e.g., security), the environment (e.g., a container), or both.