Documentation/aoe/udev.txt
2013-11-05 13:47
239 查看
Ifyouhaveanycommentorupdatetothecontent,pleasecontactthe
originaldocumentmaintainerdirectly.However,ifyouhaveaproblem
communicatinginEnglishyoucanalsoasktheChinesemaintainerfor
help.ContacttheChinesemaintainerifthistranslationisoutdated
orifthereisaproblemwiththetranslation.
Chinesemaintainer:沈芳丽<fairyshen@163.com>
---------------------------------------------------------------------
Documentation/aoe/udev.txt的中文翻译
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。
中文版维护者:沈芳丽<fairyshen@163.com>
中文版翻译者:沈芳丽<fairyshen@163.com>
中文版校译者:沈芳丽<fairyshen@163.com>
以下为正文
originaldocumentmaintainerdirectly.However,ifyouhaveaproblem
communicatinginEnglishyoucanalsoasktheChinesemaintainerfor
help.ContacttheChinesemaintainerifthistranslationisoutdated
orifthereisaproblemwiththetranslation.
Chinesemaintainer:沈芳丽<
---------------------------------------------------------------------
Documentation/aoe/udev.txt的中文翻译
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。
中文版维护者:沈芳丽<
中文版翻译者:沈芳丽<
中文版校译者:沈芳丽<
以下为正文
Theserulestelludevwhatdevicenodestocreateforaoesupport.
这些规则告知udev创建什么样的设备节点来为AOE支持。
Theymaybeinstalledalongthefollowinglines.
可以按照下面大意安装。
Checkthesection8udevmanpagetoseewhetheryourudevsupports
SUBSYSTEM,andwhetheritusesoneortwoequalsignsforSUBSYSTEM
andKERNEL.
检查第8udev手册页,看udev是否支持子系统,子系统和内核是否使用一
个或两个等号。
ecashin@makki~$su
Password:
bash#find/etc-typef-nameudev.conf
/etc/udev/udev.conf
bash#grepudev_rules=/etc/udev/udev.conf
udev_rules="/etc/udev/rules.d/"
bash#ls/etc/udev/rules.d/
10-wacom.rules50-udev.rules
bash#cp/path/to/linux-2.6.xx/Documentation/aoe/udev.txt\
/etc/udev/rules.d/60-aoe.rules
#aoechardevices
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"
#aoeblockdevices
AOE块设备
KERNEL=="etherd*",GROUP="disk"
相关文章推荐
- Documentation/aoe/todo.txt
- 翻译 /documentation/kobject.txt
- Documentation/trace/events-nmi.txt
- Documentation/basic_profiling.txt
- Documentation-power-states.txt
- Documentation/memory-devices/ti-emif.txt
- Documentation/fmc/fmc-chardev.txt
- Documentation/kbuild/kconfig.txt
- Documentation/vm/active_mm.txt
- Documentation-spi-spidev.txt
- Documentation/ide/ide-tape.txt
- documentation/gpio.txt
- 翻译DNN-Documentation-readme.txt
- 翻译 /documentation/kobject.txt
- Documentation/sched-bwc.txt 的中文翻译
- Documentation\namespaces\resource-control.txt
- Documentation-spiep93xx-spi.txt
- Documentation\cpu-freq\core.txt
- Documentation-power-drivers-testing.txt
- Documentation/scsi/scsi.txt