Skip to content

Commit a3d13ec

Browse files
alectric-trJonathan Corbet
authored andcommitted
docs: filesystems: sysfs: add remaining top level sysfs directory descriptions
Finish top level sysfs directory descriptions for block, class, firmware, hypervisor, kernel, and power. Did not write one for net directory. See commit bc3a88431672 ("docs: filesystems: sysfs: remove top level sysfs net directory") Signed-off-by: Alex Tran <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Message-ID: <[email protected]>
1 parent 63e6e9d commit a3d13ec

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Documentation/filesystems/sysfs.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,22 @@ a stat(2) operation.
334334
More information on driver-model specific features can be found in
335335
Documentation/driver-api/driver-model/.
336336

337+
block/ contains symlinks to all the block devices discovered on the system.
338+
These symlinks point to directories under /sys/devices.
337339

338-
TODO: Finish this section.
340+
class/ contains a directory for each device class, grouped by functional type.
341+
Each directory in class/ contains symlinks to devices in the /sys/devices directory.
342+
343+
firmware/ contains system firmware data and configuration such as firmware tables,
344+
ACPI information, and device tree data.
345+
346+
hypervisor/ contains virtualization platform information and provides an interface to
347+
the underlying hypervisor. It is only present when running on a virtual machine.
348+
349+
kernel/ contains runtime kernel parameters, configuration settings, and status.
350+
351+
power/ contains power management subsystem information including
352+
sleep states, suspend/resume capabilities, and policies.
339353

340354

341355
Current Interfaces

0 commit comments

Comments
 (0)