[OT] LDD3 Query

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

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux