2010-08-26 18:22:58 +00:00
|
|
|
#
|
|
|
|
# /etc/udev/rules.d/99-zpool.rules
|
|
|
|
#
|
|
|
|
|
2011-03-24 18:34:41 +00:00
|
|
|
ENV{DEVTYPE}=="disk", IMPORT{program}="@prefix@/bin/zpool_id -d %p"
|
2010-08-26 18:22:58 +00:00
|
|
|
|
|
|
|
KERNEL=="*[!0-9]", ENV{SUBSYSTEM}=="block", ENV{ID_ZPOOL}=="?*", SYMLINK+="$env{ID_ZPOOL_PATH}"
|
|
|
|
KERNEL=="*[0-9]", ENV{SUBSYSTEM}=="block", ENV{ID_ZPOOL}=="?*", SYMLINK+="$env{ID_ZPOOL_PATH}-part%n"
|