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