Documentation/aoe/udev.txt

来源:互联网 发布:twitter视频保存软件 编辑:程序博客网 时间:2024/05/29 04:51

If you have any comment or update to the content, please contact the
original document maintainer directly.  However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help.  Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.


Chinese maintainer: 沈芳丽  <fairyshen@163.com>
---------------------------------------------------------------------
Documentation/aoe/udev.txt的中文翻译


如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。


中文版维护者:沈芳丽  <fairyshen@163.com>
中文版翻译者:沈芳丽  <fairyshen@163.com>
中文版校译者:沈芳丽  <fairyshen@163.com>


以下为正文

These rules tell udev what device nodes to create for aoe support.
这些规则告知udev创建什么样的设备节点来为AOE支持。
 
They may be installed along the following lines.  
可以按照下面大意安装。
Check the section8 udev manpage to see whether your udev supports 
SUBSYSTEM, and whether it uses one or two equal signs for SUBSYSTEM 
and KERNEL.
检查第8 udev手册页,看udev是否支持子系统,子系统和内核是否使用一
个或两个等号。
  ecashin@makki ~$ su
  Password:
  bash# find /etc -type f -name udev.conf
  /etc/udev/udev.conf
  bash# grep udev_rules= /etc/udev/udev.conf
  udev_rules="/etc/udev/rules.d/"
  bash# ls /etc/udev/rules.d/
  10-wacom.rules  50-udev.rules
  bash# cp /path/to/linux-2.6.xx/Documentation/aoe/udev.txt \
          /etc/udev/rules.d/60-aoe.rules
 
# aoe char devices
aoe的字符设备
SUBSYSTEM=="aoe", KERNEL=="discover",   NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="err",        NAME="etherd/%k", GROUP="disk", MODE="0440"
SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="flush",      NAME="etherd/%k", GROUP="disk", MODE="0220"
 
# aoe block devices   
AOE块设备  
KERNEL=="etherd*",       GROUP="disk"

原创粉丝点击