Creating devices with mdev (automically)
Bjørn Forsman
bjorn.forsman at gmail.com
Wed Apr 8 16:11:15 UTC 2009
2009/4/8 Manuel Sahm <Manuel.Sahm at feig.de>
> Hello,
>
> I have written an gpio kernel driver.
> Now I have to create a /dev/gpio/xy Character device with mknod for each
> pin.
>
> Is it possible to do this with mdev automatically when I load my driver
> with insmod ?
>
>
> Thank you very much
> best regards
>
> Manuel
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
Hi,
I just faced the same question myself (how to get mdev to automatically
create device files when loading modules) and found busybox/docs/mdev.txt to
be quite helpful.
Regards,
Bjørn Forsman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090408/49d99609/attachment-0001.htm>
More information about the busybox
mailing list