lkml.org 
[lkml]   [2015]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: how to have the kernel do udev's job and autoload the right modules ?
From
On Mon, May 4, 2015 at 7:31 AM, linux cbon <linuxcbon@gmail.com> wrote:
> Hi,
>
> I am experimenting a rc.sysinit without udev.
> Only creating /dev with mount -t devtmpfs dev /dev
> It also mounts /proc and /sys and /tmp and /var .
> So the kernel boots up loading a lot of hardware, but some important
> modules are not loaded , like sound, network and video.
> I am not sure how to have them auto loaded by the kernel without udev ?
> I though kernel would have some kind of auto-loading of the right
> modules, without needing any help like udev.

We have request_module() but it is not a magic bullet.
You can re-invent a mini udev or just use udev.

> I don't know the simplest and easiest way to achieve this ?
> Thanks for your help.

We have udev for a reason. :-)

--
Thanks,
//richard


\
 
 \ /
  Last update: 2015-05-04 10:01    [W:0.081 / U:13.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site