xref: /freebsd/sys/contrib/openzfs/udev/rules.d/60-zvol.rules.in (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
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