1 What: /sys/devices 1 What: /sys/devices 2 Date: February 2006 2 Date: February 2006 3 Contact: Greg Kroah-Hartman <gregkh@linu 3 Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 4 Description: 4 Description: 5 The /sys/devices tree contains 5 The /sys/devices tree contains a snapshot of the 6 internal state of the kernel d 6 internal state of the kernel device tree. Devices will 7 be added and removed dynamical 7 be added and removed dynamically as the machine runs, 8 and between different kernel v 8 and between different kernel versions, the layout of the 9 devices within this tree will 9 devices within this tree will change. 10 10 11 Please do not rely on the form 11 Please do not rely on the format of this tree because of 12 this. If a program wishes to 12 this. If a program wishes to find different things in 13 the tree, please use the /sys/ 13 the tree, please use the /sys/class structure and rely 14 on the symlinks there to point 14 on the symlinks there to point to the proper location 15 within the /sys/devices tree o 15 within the /sys/devices tree of the individual devices. 16 Or rely on the uevent messages 16 Or rely on the uevent messages to notify programs of 17 devices being added and remove 17 devices being added and removed from this tree to find 18 the location of those devices. 18 the location of those devices. 19 19 20 Note that sometimes not all de 20 Note that sometimes not all devices along the directory 21 chain will have emitted uevent 21 chain will have emitted uevent messages, so userspace 22 programs must be able to handl 22 programs must be able to handle such occurrences. 23 23 24 Users: 24 Users: 25 udev <linux-hotplug-devel@lists.sourcef 25 udev <linux-hotplug-devel@lists.sourceforge.net>
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.