blob: 5fcc94358b8d35bf469430c80501ee153dc1cf5c [file] [log] [blame]
Greg Kroah-Hartmanc18f6362006-04-27 14:10:12 -07001What: /sys/devices
2Date: February 2006
Greg Kroah-Hartmanbc5bca52012-02-15 14:48:01 -08003Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartmanc18f6362006-04-27 14:10:12 -07004Description:
5 The /sys/devices tree contains a snapshot of the
6 internal state of the kernel device tree. Devices will
7 be added and removed dynamically as the machine runs,
8 and between different kernel versions, the layout of the
9 devices within this tree will change.
10
11 Please do not rely on the format of this tree because of
12 this. If a program wishes to find different things in
13 the tree, please use the /sys/class structure and rely
14 on the symlinks there to point to the proper location
15 within the /sys/devices tree of the individual devices.
16 Or rely on the uevent messages to notify programs of
17 devices being added and removed from this tree to find
18 the location of those devices.
19
20 Note that sometimes not all devices along the directory
21 chain will have emitted uevent messages, so userspace
22 programs must be able to handle such occurrences.
23
24Users:
25 udev <linux-hotplug-devel@lists.sourceforge.net>