* udev libsysfs diet (pre 2.0 version)
@ 2005-02-23 19:40 Kay Sievers
0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2005-02-23 19:40 UTC (permalink / raw)
To: linux-hotplug
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_id\x14396&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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-23 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 19:40 udev libsysfs diet (pre 2.0 version) Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).