From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 23 Feb 2005 19:40:42 +0000 Subject: udev libsysfs diet (pre 2.0 version) Message-Id: <1109187642.11053.55.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I've applied a new version of libsysfs which is much smaller and faster than the old one. After some discussion with the libsysfs maintainers we decided to change the api to better reflect the current state of the kernels sysfs. libsysfs will now only open attributes which content is explicitely requested and it will not automatically go down into subdirectories to look for attributes. The next kernel version will have a "bus" link for physical devices along with the already present "driver" link. The current "driver" link on the class devices will be removed. This makes sysfs more consistent: o class devices may have a "device" link o physical devices may have the "bus" and the "driver" To get the driver behind a class device just follow the device link and get it from the physical device. The new libsysfs will recognize these symlinks and does not need to search through the whole /sys/bus directory to find the matching device. udevstart is about 30% faster with all these changes now. Thanks, Kay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel