Re: How to create the nodes automatically

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

 



Srinivas G. wrote:

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?

Try creating the nodes in /etc/udev/devices

I have heard about devfs. But I did not know about it.
Could any one please respond to my question?
Devfs is deprecated and mostly removed out of the recent kernels.

--
Rahul
Fedora Bug Triaging - http://fedoraproject.org/wiki/BugZappers


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux