mdev and /dev/bus/usb

Alon Bar-Lev alon.barlev at gmail.com
Fri Oct 3 18:43:14 UTC 2008


Hello,

I had to add ugly hack to create /dev/bus/usb devices (major 189) using mdev.

After reading bug#1329 [1], I thought I will be able to do it without any hack, but I cannot understand if this is supported. I tried latest snapshot.

A fix for this was posted in the mailing list [2], explicit handling of bus/usb, but looks like I must specify all buses inside the configuration.

What I expect is that devices with major 189 will be created, I prefer they will be created at /dev/bus/usb/BUSNUM/DEVNUM, but they can be created at any other location so I can symlink them into this location.

Can this be done using latest snapshot?

Regards,
Alon.

[1] http://bugs.busybox.net/view.php?id=1329
[2] http://www.uclibc.org/lists/busybox/2007-May/027367.html



More information about the busybox mailing list