sysfs

A virtual filesystem mounted at /sys where the kernel exposes devices, drivers and their settings as files.

In more detail

Like /proc, /sys is generated by the kernel and not stored on disk. Each device and driver appears as a directory of small attribute files, such as a network interface's state or a disk's size. Some attributes are writable by root and change kernel behavior immediately, so check what a file controls before writing to it.

Related terms

Taught in

References