diff options
Diffstat (limited to 'etc/udev/rules.d/60-zvol.rules.in')
-rw-r--r-- | etc/udev/rules.d/60-zvol.rules.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/udev/rules.d/60-zvol.rules.in b/etc/udev/rules.d/60-zvol.rules.in new file mode 100644 index 000000000..860e74b21 --- /dev/null +++ b/etc/udev/rules.d/60-zvol.rules.in @@ -0,0 +1,6 @@ +# Peristent links for zvol +# +# persistent disk links: /dev/zvol/dataset_name +# also creates compatibilty symlink of /dev/dataset_name + +KERNEL=="zd*" SUBSYSTEM=="block" ACTION=="add|change" PROGRAM="@prefix@/bin/zvol_id $tempnode" SYMLINK+="zvol/%c %c" |