Proper way to autoload modules (/etc/rc.modules)?

Peter Jones pjones at redhat.com
Wed Apr 6 19:02:58 UTC 2005


On Wed, 2005-04-06 at 19:36 +0800, Jeff Pitman wrote:
> On Monday 04 April 2005 16:56, Peter Backlund wrote:
> > which would load the nvidia module when any /dev/nvidia* device is
> > accessed (they have char-major 195).
> 
> What if the /dev doesn't exist yet?  Chicken and egg 
> problem.  /etc/makedev.d/* contains a list of devices to create when 
> the module is loaded.

/dev comes from the initrd, so it basically always exists.  But this is
a post-udev world, so if nothing has asked to build that device node
there, it won't be there, and no amount of waiting will help.

-- 
        Peter




More information about the devel mailing list