- 论坛徽章:
- 0
|
我只知道在rhel5下的设置,修改/etc/udev/rules.d/60-raw.rules文件,把分区绑定的raw上面:
如下:
ACTION=="add", KERNEL=="sda5", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sda6", RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sda7", RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", KERNEL=="sda8", RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", KERNEL=="sda9", RUN+="/bin/raw /dev/raw/raw5 %N"
ACTION=="add", KERNEL=="sda10", RUN+="/bin/raw /dev/raw/raw6 %N"
ACTION=="add", KERNEL=="sda11", RUN+="/bin/raw /dev/raw/raw7 %N"
SUSE下应该原理是一样的,肯定要文件中设置,这样重启才能生效,就是用命令修改IP地址一样,只有在文件中设置在能固化!!!!!!
只做参考!!!! |
|