r/linuxfromscratch • • Jan 07 '21

Build the Linux Kernel Without /proc Access

Is there any way to build the Linux kernel without access to the filesystem /proc like on OpenBSD? If so, how can I maintain a proper /etc/mtab without /proc symlinks?

The Answer

Nope! Unlike OpenBSD Linux has been built around /proc (which is concerning seeing as you can brick the system with echo ._.) so you need to use SELinux (which is good cause I like it). Gonna see if there is anyway to nuke specific subdirecties within /proc tho.

7 Upvotes

3 comments sorted by