minimal mdev script for my rc.sysinit

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed May 6 21:31:33 UTC 2015


On 6 May 2015 at 03:15, linuxcbon linuxcbon <linuxcbon at gmail.com> wrote:
> Hi all,
>
> I am writing a very small rc.sysinit.
> Only the udev or mdev part is missing : until now,
> I can boot to desktop, but network, sound
> , full screen video, etc. are missing, because the kernel
> doesn't "automagically" modprobe them.
>
> Can you please tell me in several lines how to do for
>  mdev to detect and modprobe the needed modules ?

http://git.busybox.net/buildroot/tree/target/generic/target_busybox_skeleton/etc/inittab?id=9e59c9bc006734237510e8bbb36e83ed429cd03f

Probably a bit out of date by now, but you get the idea.

HTH,
>
> (a small note : I already do "mount -t devtmpfs dev /dev" which
>  automagically creates /dev files
> When I do a "mdev -s" , it will recreate /dev, so what's the point of
> using devtmpfs)
>
> Thanks in advance
> linuxcbon
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list