Re: Loading modules on every boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Jul 15, 2009 at 1:06 PM, Anoop <anoop.chargotra@xxxxxxxxx> wrote:
>>
>> This is for automatic insertion of the module. But for automatic device node
>> creation 'udev' is needed; am I right here?
>
> Yes, you're right.
Just curious to know,
Can't we do something in module_init() to create a device node
automatically, whenever a module in inserted.

For simple character drivers which does not belongs to any bus we
can use class_create and friends to generate udev events. Use this information
and modify the udev rules to create nodes automatically.

somebody please correct me if I am wrong

Arun C

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux