mdev
Vladimir Dronnikov
dronnikov at gmail.com
Fri Apr 17 05:36:17 UTC 2009
>
> Sorry, does not apply since I applied some of your earlier patches.
>
Rediff'ed and attached.
N.B. subsystem can not be easily extracted from $DEVPATH (hotplug
case). It is reported as a path under /sys/devices/ hierarchy. And the
rule of thumb (the third component of the path is subsystem) doesn't
hold then (e.g. sound devices are reported as
/sys/devices/..../sound/card0/pcm..., notice card0). That is why I
concat path to be getenv("SUBSYSTEM") + "/" + device_name in hotplug
case.
>
> Maybe it'll work as suitable place for documentation,
> docs/mdev.txt seems to fall behind because it is farther away
> from actual code...
>
Let us settle down the syntax/code. Of course it is hard to document
constantly moving target.
Regards,
--
Vladimir
More information about the busybox
mailing list