Linux Directory Structure - FHS

SagXD@lemm.ee to Linux@lemmy.ml – 1226 points –
lemm.ee
197

You are viewing a single comment

Is it just me, or are the definitions for /sys and /proc mixed up?

Nah, it's just that /proc is incorrect - it contains information about running processes, as well as kernel data structures as visible by the process reading them.

No I thinks is basically right although could be better worded maybe

/sys is virtual file structure for kernel system info

/proc is virtual file structure of kernel process info

My understanding is /proc came first but was abused/free for all and started being used for all sorts of non standard/process kernel access. So /sys was created with stricter rules to make it more standardised.