xref: /freebsd/sys/contrib/openzfs/udev/rules.d/60-zvol.rules.in (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
1# Persistent links for zvol
2#
3# persistent disk links: /dev/zvol/dataset_name
4#
5# NOTE: We used to also create an additional tree of zvol symlinks located at
6#       /dev/dataset_name (i.e. without the 'zvol' path component) for
7#       compatibility reasons. These are no longer created anymore, and should
8#       not be relied upon.
9#
10
11KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM=="@udevdir@/zvol_id $devnode", SYMLINK+="zvol/%c"
12