Documentation/aoe/udev.txt

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"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值