From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 02 Feb 2006 16:50:24 +0000 Subject: Re: How to create the nodes dynamically - simple char driver Message-Id: <20060202165024.GA22144@kroah.com> List-Id: References: <3AEC1E10243A314391FE9C01CD65429B28C755@mail.esn.co.in> In-Reply-To: <3AEC1E10243A314391FE9C01CD65429B28C755@mail.esn.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Feb 02, 2006 at 03:43:25PM +0530, 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? Yes, see the section in LDD3 about how udev works and what you need to do to get your driver to work properly with it. Hope this helps, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel