mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
f132992361
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
9 lines
307 B
Plaintext
9 lines
307 B
Plaintext
#
|
|
# /etc/udev/rules.d/60-zpool.rules
|
|
#
|
|
|
|
ENV{DEVTYPE}=="disk", IMPORT{program}="@prefix@/bin/zpool_id -d %p"
|
|
|
|
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"
|