mdev

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 19 11:33:06 UTC 2009


On Sunday 19 April 2009 07:34, Vladimir Dronnikov wrote:
> I don't care here of device type. Let them be char. If the system has
> a device X (which is denoted by existance of a directory under
> /sys/devices/), I want mdev -s to account for it. Current mdev -s
> don't. If I rely on mdev -s to enumerate ALL devices, I'll fail here.

I propose to use "mdev -<some_other_letter>".

> >> And to load them you either
> >> need to issue modprobe "by hands", or (as I propose) rely on
> >> enumerating /sys/devices/* and $MODALIAS suport in mdev hotplug.
> >
> > You're using the words "enumerating" and "hotplug" in the same sentence.
> 
> I'm not very fluent in english punctuation. The right sense is:
> enumeration in "mdev -s"; [and] $MODALIAS support in mdev hotplug.
> 
> > pci:v00008086d000027DAsv00001028sd000001BDbc0Csc05i00
> >
> > Which looks like the data the hotplug thing I linked to earlier was parsing...
> 
> Current modprobe is happy with such arguments. We don't need any
> additional parsing.

Good, that makes it rather simple thing to do.
--
vda


More information about the busybox mailing list