Expand description
Virtual sysfs filesystem for VeridianOS.
Provides a Linux-compatible sysfs interface for kernel subsystem
configuration and status. Virtual files under /sys/ expose kernel
parameters to user-space tools and desktop environments (e.g., KDE
PowerDevil reads /sys/power/state and /sys/class/backlight/).
Each sysfs node is a SysfsNode with read and/or write handlers.
Nodes are registered at init time and looked up by path.
Modules§
- power
- Sysfs power virtual files for VeridianOS.
Structs§
- Sysfs
Node - A virtual sysfs filesystem node.
Traits§
- Sysfs
Entry - Trait for sysfs entry registration.
Functions§
- list_
nodes - List all registered sysfs nodes.
- lookup
- Look up a sysfs node by path.
- register_
node - Register a sysfs node.
- sysfs_
init - Initialize the sysfs subsystem and register all built-in nodes.
- sysfs_
read - Read a sysfs virtual file.
- sysfs_
write - Write to a sysfs virtual file.