EDIT: By obsolete I don't mean bad/unnecessary (I agree with /proc
being a mess). Modularity is a good thing and I love it. I mean is: information of the system, held (in /sys
) that is findable somewhere else.
I couldn't really find much information about /sys
and /proc
. Besides both of there contents not being part of the Filesystem Hierarchy Standard (because the way they, look like/are build up is kernel version depended)
/sys doesn't even have it's own man
page. /proc
has it's own man page, and oh boy it has pretty much explanation and still I have some folders and files (for example /acpi
and consoles
)
which are not mentioned in it.
/sys
is pretty new right? And before it existed all of the info that /sys
gives was part of /proc
right?
Question:
Is this still the case?
Can all the info form /sys
be found on /proc
in one or another form? That would make a documentation for /sys
obsolete because it's just an expansion with user friendly design, right? Or is there any system info in /sys
that isn't in some other form present in /proc
?
If this is the case where is the place that explains /sys
to linux amateurs?
/proc
is for higher level kernel/process stuff whereas/sys
is for hardware behavior. The hardware entries underneath/proc
are usually older entries that pre-date/sys
– Bratchley Oct 23 '16 at 23:11/proc
hardware data/files are older. – Bratchley Oct 24 '16 at 00:16