14 sysfs
Directory Reference
The following table describes some useful virtual directories under the
/sys
directory hierarchy.
For more information, see https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt.
Table 14-1 Virtual Directories Under /sys
Virtual Directory | Description |
---|---|
|
Contains subdirectories for block devices. For
example: |
|
Contains subdirectories for each physical bus type, such as |
|
Contains subdirectories for every class of device that's registered with the kernel. |
|
Contains the |
|
Contains the global device hierarchy of all devices on the system. The platform
directory contains peripheral devices such as device controllers that are specific
to a particular platform. The |
|
Contains subdirectories for firmware objects. |
|
Contains subdirectories for file system objects. |
|
Contains subdirectories for other kernel objects |
|
Contains subdirectories for each module loaded into the kernel. You can alter some parameter values for loaded modules. See Modprobe Configuration Reference. |
power
|
Contains attributes that control the system's power state. |