[lug] dumb question about /sys

Jonathan Corbet corbet-bldrlug at lwn.net
Mon Sep 27 08:15:11 MDT 2004


>  What is /sys for?

sysfs is the external representation of the 2.6 kernel's internal device
model.  User space can use it to discover devices on the system, see how
they are interconnected, and, in some cases, change their
configuration.  The hotplug subsystem and a lot of the new fancy desktop
code relies heavily on sysfs to understand what is going on with the
system.

There's a fair amount of low-level programming information about sysfs
in the LWN driver porting series:

	http://lwn.net/Articles/driver-porting/

jon



More information about the LUG mailing list