Hi, On Sat, Apr 6, 2013 at 5:23 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > On Fri, Apr 05, 2013 at 12:17:54PM +0530, Vijay Chauhan wrote: > > Hi, > > > > I am new to Linux Device Driver and reading LDD3. > > > > It mentions that the disadvantage of dynamic major number allocation > > is that you can’t create the device nodes in > > advance, because the major number assigned to your module will vary. > > That's extremely out of date, all distros now use udev (or mdev) and as > such, dynamic major/minor are fine to use, and recommended. > > > To solve this problem, it says that create a script to invoke insmod > > and after calling insmod, reads /proc/devices in order to create the > > special file(s). > > Not needed anymore, udev handles this for you. > > Hope this helps, Thanks Greg. I realizes it later :) Vijay > > greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html