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