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