0

I'm not understanding whats inside the /sys directory.

Is it just a more organized version of /dev? Chatgpt is telling me that:

The /sys directory in Linux is a virtual filesystem (sysfs) that provides an interface to access and interact with the system's hardware devices and their attributes.

But my first cd into the directory shows the kernel which is most definitely not hardware and after further exploration its just a load of symbolic links pointing to the /dev directory.

If it contains config files, why wouldn't they belong in /etc along with all system configurations? And interface for accessing hardware devices can be found at /dev and /media if im not mistaken.

Can someone explain what this directory is for? And correct me if need be?

Seamus
  • 2,925
Mathew
  • 235

0 Answers0