When the device node (special file) is created, it must sport the exact same major number that is used internally by the kernel.
当设备节点(特殊文件)创建后,它使用的主设备号必须同内核内部使用的完全相同。
In response, devfs_register adds the foo0 device node to the root of the devfs namespace, and records that this new foo0 node should map to the foo device driver in the kernel.
相应的,devfs_register在devfs名称空间的根目录添加foo0设备节点,并记录这个新的foo0节点应该映射到内核中的foo设备驱动程序。
The above rule says: match a device which was named by the kernel as hdb AND where the driver is ide-disk. Name the device node with the default name and create a symbolic link to it named sparedisk.
上面规则意思是:匹配一个内核命名为hdb以及驱动为ide-disk的设备,命名设备节点为缺省名字,同时创建一个指向它的名为sparedisk的符号链接。
Status of processes, kernel-thread, i-node, and file tables.
进程、内核线程、索引节点和文件表的状态。
The above rule says: match a device which was named by the kernel as HDB, and instead of calling it HDB, name the device node as my_spare_disk.
上面规则意思是:匹配一个设备命名为hdb的设备,把它重新命名为my _ spare _ disk。
So to design a kind of kernel of operating system aiming at sensor networks node is an urgent problem in the field.
因此,设计一种针对无线传感器网络结点的通用操作系统内核是当今该领域亟待解决的问题。
This is the mechanism by which the kernel associates our particular device to the device node.
这种机制就是内核将特定设备与相应设备节点相互关联的方式。
Thee kernel doesn't maintain the full pathname of the directory. Instead, the kernel keeps information about the directory, such as a pointer to the directory's v-node.
核心没有维护目录的全路径,相反,核心保持拉目录的信息,像指向目录的v -node的指针。
Thee kernel doesn't maintain the full pathname of the directory. Instead, the kernel keeps information about the directory, such as a pointer to the directory's v-node.
核心没有维护目录的全路径,相反,核心保持拉目录的信息,像指向目录的v -node的指针。
应用推荐