162306a36Sopenharmony_ciWhat: /sys/devices 262306a36Sopenharmony_ciDate: February 2006 362306a36Sopenharmony_ciContact: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci The /sys/devices tree contains a snapshot of the 662306a36Sopenharmony_ci internal state of the kernel device tree. Devices will 762306a36Sopenharmony_ci be added and removed dynamically as the machine runs, 862306a36Sopenharmony_ci and between different kernel versions, the layout of the 962306a36Sopenharmony_ci devices within this tree will change. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci Please do not rely on the format of this tree because of 1262306a36Sopenharmony_ci this. If a program wishes to find different things in 1362306a36Sopenharmony_ci the tree, please use the /sys/class structure and rely 1462306a36Sopenharmony_ci on the symlinks there to point to the proper location 1562306a36Sopenharmony_ci within the /sys/devices tree of the individual devices. 1662306a36Sopenharmony_ci Or rely on the uevent messages to notify programs of 1762306a36Sopenharmony_ci devices being added and removed from this tree to find 1862306a36Sopenharmony_ci the location of those devices. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci Note that sometimes not all devices along the directory 2162306a36Sopenharmony_ci chain will have emitted uevent messages, so userspace 2262306a36Sopenharmony_ci programs must be able to handle such occurrences. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciUsers: 2562306a36Sopenharmony_ci udev <linux-hotplug-devel@lists.sourceforge.net> 26