如果已经将存储设备挂载在特定目录路径下,那么根据根目录路径选择文件存储区域的筛选器表达式比较有用。
A filter expression to select file storage areas based on its root directory path can be useful if you have organized your storage devices to be mounted under specific directory paths.
根目录条目(dentry)对象也缓存在这里,因为它是文件系统所在的块设备。
The root directory entry (dentry) object is cached here also, as is the block device on which this file system resides.
它会提供一个foo0的参数给devfs_register,从而告诉内核应该在devfs名称空间的根目录创建一个新的foo0设备。
It would supply an argument of foo0 to devfs_register , thus telling the kernel that a new foo0 device should be created at the root of the devfs namespace.
Linux文件系统是一个用 / 划分根目录的大的目录树,但是我们在不同的设备和分区上也有文件系统。
The Linux filesystem is one big tree rooted at /, and yet we have filesystems on different devices and partitions.
相应的,devfs_register在devfs名称空间的根目录添加foo0设备节点,并记录这个新的foo0节点应该映射到内核中的foo设备驱动程序。
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设备驱动程序。
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.
应用推荐