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.

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).

My question is, is there no way to do it inside the module? How other
modules does?

---
Vijay
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to