当设备节点(特殊文件)创建后,它使用的主设备号必须同内核内部使用的完全相同。
When the device node (special file) is created, it must sport the exact same major number that is used internally by the kernel.
让特殊文件到内核驱动程序的映射成为可能的是主设备号,而不是真实的设备名称(它和非 devfs系统无关)。
The mapping from special file to kernel driver is made possible by the major number, not the actual device name, which is irrelevant to a non-devfs system.
让特殊文件到内核驱动程序的映射成为可能的是主设备号,而不是真实的设备名称(它和非 devfs系统无关)。
The mapping from special file to kernel driver is made possible by the major number, not the actual device name, which is irrelevant to a non-devfs system.
应用推荐