Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/devices
0002 Date:           February 2006
0003 Contact:        Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0004 Description:
0005                 The /sys/devices tree contains a snapshot of the
0006                 internal state of the kernel device tree.  Devices will
0007                 be added and removed dynamically as the machine runs,
0008                 and between different kernel versions, the layout of the
0009                 devices within this tree will change.
0010 
0011                 Please do not rely on the format of this tree because of
0012                 this.  If a program wishes to find different things in
0013                 the tree, please use the /sys/class structure and rely
0014                 on the symlinks there to point to the proper location
0015                 within the /sys/devices tree of the individual devices.
0016                 Or rely on the uevent messages to notify programs of
0017                 devices being added and removed from this tree to find
0018                 the location of those devices.
0019 
0020                 Note that sometimes not all devices along the directory
0021                 chain will have emitted uevent messages, so userspace
0022                 programs must be able to handle such occurrences.
0023 
0024 Users:
0025         udev <linux-hotplug-devel@lists.sourceforge.net>