• Here is an example rule which matches a single attribute from sysfs.

    这里一个匹配sysfs单个属性例子

    youdao

  • Sysfs is actually a very simple structure. It is logically divided into directories.

    sysfs实际上一个非常简单结构逻辑上以目录形式区分

    youdao

  • A number of similar file systems are already present, for example, procfs, sysfs, or mqueue.

    现在存在很多类似文件系统例如procfssysfsmqueue

    youdao

  • ATTRS - match a sysfs attribute of the device, or a sysfs attribute of any of the parent devices.

    ATTRS-匹配设备sysfs属性任何它的上级设备sysfs属性。

    youdao

  • sysfs, which gives a userspace representation of the system's device model, has been introduced in 2.5.

    2.5中引入了sys文件系统给出了系统设备模型用户空间描述

    youdao

  • All you need to know is the sysfs device path of the device in question. A trimmed example is shown below.

    需要知道一个设备sysfs设备路径

    youdao

  • This process begins by removing the module from the various lists that it was placed on during installation (sysfs, module list, and so on).

    首先安装期间添加各种列表中(系统文件模块列表删除模块。

    youdao

  • The Linux kernel actually represents devices in a tree-like structure, and this information is exposed through sysfs and useful when writing rules.

    linux内核实际上结构展示设备,这种树状关系可以通过sysfs查看,编写我们自己的规则时这非常有用

    youdao

  • Many drivers export information like this into sysfs, and udev allows us to incorporate sysfs-matching into our rules, using the ATTR key with a slightly different syntax.

    许多驱动程序会导出这些信息sysfs,udev允许我们使用ATTR通过不同语法合并sysfs匹配到自己规则中。

    youdao

  • Although this serves as a useful introduction as to the structure of sysfs and exactly how udev matches values, manually trawling through sysfs is both time consuming and unnecessary.

    虽然对于关于sysfs结构udev如何匹配介绍很有用但手工sysfs的梳理是个耗时没必要的事。

    youdao

  • When you write rules based on sysfs information, you are simply matching attribute contents of some files in one part of the chain. For example, I can read the size of my hard disk as follows.

    我们编写基于sysfs信息规则时,只是简单的匹配链条一部分文件属性内容

    youdao

  • When you write rules based on sysfs information, you are simply matching attribute contents of some files in one part of the chain. For example, I can read the size of my hard disk as follows.

    我们编写基于sysfs信息规则时,只是简单的匹配链条一部分文件属性内容

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定