Manual of sysfs(5)
| sysfs(5) | File Formats Manual | sysfs(5) |
NAME
sysfs - a filesystem for exporting kernel objects
DESCRIPTION
The sysfs filesystem is a pseudo-filesystem which provides an interface to kernel data structures. (More precisely, the files and directories in sysfs provide a view of the kobject structures defined internally within the kernel.) The files under sysfs provide information about devices, kernel modules, filesystems, and other kernel components.
The sysfs filesystem is commonly mounted at /sys. Typically, it is mounted automatically by the system, but it can also be mounted manually using a command such as:
mount -t sysfs sysfs /sys
Many of the files in the sysfs filesystem are read-only, but some files are writable, allowing kernel variables to be changed. To avoid redundancy, symbolic links are heavily used to connect entries across the filesystem tree.
FILES
The following list describes some of the files and directories under the /sys hierarchy.
- /sys/block/
- See sys_block(5).
- /sys/bus/
- See sys_bus(5).
- /sys/class/
- See sys_class(5).
- /sys/dev/
- See sys_dev(5).
- /sys/devices/
- See sys_devices(5).
- /sys/firmware/
- See sys_firmware(5).
- /sys/fs/
- See sys_fs(5).
- /sys/hypervisor/
- See sys_hypervisor(5).
- /sys/kernel/
- See sys_kernel(5).
- /sys/module/
- See sys_module(5).
- /sys/power/
- See sys_power(5).
STANDARDS
Linux.
HISTORY
Linux 2.6.0.
NOTES
This manual page is incomplete, possibly inaccurate, and is the kind of thing that needs to be updated very often.
SEE ALSO
P. Mochel (2005). The sysfs filesystem. Proceedings of the 2005 Ottawa Linux Symposium.
The kernel source file Documentation/filesystems/sysfs.rst and various other files in Documentation/ABI and Documentation/*/sysfs.rst.
| 2026-09-09 | Linux man-pages (unreleased) |