diff --git a/udev/rules.d/60-vdev.rules.in b/udev/rules.d/60-vdev.rules.in index a1885d9677..e47b5aa7cf 100644 --- a/udev/rules.d/60-vdev.rules.in +++ b/udev/rules.d/60-vdev.rules.in @@ -1,8 +1,8 @@ # -# /lib/udev/rules.d/60-vdev.rules +# @udevdir@/rules.d/60-vdev.rules # -ENV{DEVTYPE}=="disk", IMPORT{program}="/lib/udev/vdev_id -d %k" +ENV{DEVTYPE}=="disk", IMPORT{program}="@udevdir@/vdev_id -d %k" KERNEL=="*[!0-9]", ENV{SUBSYSTEM}=="block", ENV{ID_VDEV}=="?*", SYMLINK+="$env{ID_VDEV_PATH}" KERNEL=="*[0-9]", ENV{SUBSYSTEM}=="block", ENV{DEVTYPE}=="partition", ENV{ID_VDEV}=="?*", SYMLINK+="$env{ID_VDEV_PATH}-part%n" diff --git a/udev/rules.d/60-zpool.rules.in b/udev/rules.d/60-zpool.rules.in index 32fceed116..54b9fcdebf 100644 --- a/udev/rules.d/60-zpool.rules.in +++ b/udev/rules.d/60-zpool.rules.in @@ -1,5 +1,5 @@ # -# /lib/udev/rules.d/60-zpool.rules +# @udevdir@/rules.d/60-zpool.rules # ENV{DEVTYPE}=="disk", IMPORT{program}="@udevdir@/zpool_id -d %p"