aboutsummaryrefslogtreecommitdiffstats
path: root/udev/rules.d
diff options
context:
space:
mode:
Diffstat (limited to 'udev/rules.d')
-rw-r--r--udev/rules.d/60-zvol.rules.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/udev/rules.d/60-zvol.rules.in b/udev/rules.d/60-zvol.rules.in
index a3c7d2acf..9a2a473a8 100644
--- a/udev/rules.d/60-zvol.rules.in
+++ b/udev/rules.d/60-zvol.rules.in
@@ -1,6 +1,11 @@
# Persistent links for zvol
#
# persistent disk links: /dev/zvol/dataset_name
-# also creates compatibility symlink of /dev/dataset_name
+#
+# NOTE: We used to also create an additional tree of zvol symlinks located at
+# /dev/dataset_name (i.e. without the 'zvol' path component) for
+# compatibility reasons. These are no longer created anymore, and should
+# not be relied upon.
+#
-KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM=="@udevdir@/zvol_id $devnode", SYMLINK+="zvol/%c %c"
+KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM=="@udevdir@/zvol_id $devnode", SYMLINK+="zvol/%c"