How to create the nodes automatically

Srinivas G. srinivasg at esntechnologies.co.in
Thu Feb 2 07:10:12 UTC 2006


Dear All,

I have developed a simple character driver for accessing the custom PCI
board in Fedora Core 3. It is working fine. I am creating the device
nodes manually using the mknod command after inserting my module into
the kernel space. But when I restart the system the nodes are not there.
But the module is present. I have added the MODULE_DEVICE_TABLE in my
module for loading it at boot time. I have read about the
MODULE_DEVICE_TABLE in LDD3. It will add the module name to the
modules.pcimap and modules.dep file. 

My question is: 
Is there any way to create the nodes automatically after restarting the
system if the module exists?

I have heard about devfs. But I did not know about it.
Could any one please respond to my question?

Thanks in advance. 

Regards,
Srinivas G




More information about the fedora-list mailing list