On Wednesday 11 November 2009 16:20:00 Vladimir Dronnikov wrote: > > I tried to write a version of lspci, it only uses sysfs and supports 2 > > options: m and k, it dumps data only in numeric form (not uses pci.ids > > file) > > Looks familiar :) > > BTW, updated ndev is at http://busybox.net/~dvv/patch/ndev.patch : > speedup; diving into /sys/devices is moved to a separate script. If > you find common pieces of lspci and ndev code (parsing uevent?) -- we > can bubble it up into a lib function.
would probably be good anyways as i imagine a sysfs-based lsusb would utilize the code too -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
