- 论坛徽章:
- 3
|
my-host:/etc/udev/rules.d # cat 51-raw.rules
KERNEL=="raw[1-9]*", OWNER="oracle", GROUP="oinstall", MODE="660"
50-udev-default.rules 中
# device mapper
KERNEL=="device-mapper", NAME="%k", SYMLINK+="mapper/control"
# misc storage devices (non-block)
KERNEL=="sg*", NAME="%k", GROUP="disk", MODE="640"
KERNEL=="st*", NAME="%k", GROUP="disk"
KERNEL=="ht*|nht*", NAME="%k", GROUP="disk"
KERNEL=="nst*", NAME="%k", GROUP="disk"
KERNEL=="initrd", NAME="%k", GROUP="disk"
KERNEL=="qft*", NAME="%k", GROUP="disk"
KERNEL=="nqft*", NAME="%k", GROUP="disk"
KERNEL=="zqft*", NAME="%k", GROUP="disk"
KERNEL=="nzqft*", NAME="%k", GROUP="disk"
KERNEL=="rawqft*", NAME="%k", GROUP="disk"
KERNEL=="nrawqft*", NAME="%k", GROUP="disk"
KERNEL=="pf*", NAME="%k", GROUP="disk"
KERNEL=="sch*", NAME="%k", GROUP="disk"
KERNEL=="pt*", NAME="%k", GROUP="disk"
KERNEL=="npt*", NAME="%k", GROUP="disk"
KERNEL=="pg*", NAME="%k", GROUP="disk"
KERNEL=="evms/block_device*", NAME="%k", GROUP="disk"
KERNEL=="rawctl*", NAME="raw/%k", GROUP="disk"
KERNEL=="raw[0-9]*", SUBSYSTEM=="raw", NAME="raw/%k", GROUP="disk"
KERNEL=="osst*", NAME="%k", GROUP="disk"
KERNEL=="nosst*", NAME="%k", GROUP="disk"
KERNEL=="iseries/vt*", NAME="%k", GROUP="disk"
KERNEL=="iseries/nvt*", NAME="%k", GROUP="disk"
KERNEL=="iseries/ibmsis*", NAME="%k", GROUP="disk"
my-host:/etc/udev/rules.d # cat 85-mount-fstab.rules
# check fstab and possibly mount
SUBSYSTEM=="block", ACTION=="add", KERNEL=="sd*[0-9]|hd*[0-9]", RUN+="mount.sh" |
|