zfs/udev/rules.d/60-zvol.rules.in

12 lines
461 B
Plaintext
Raw Permalink Normal View History

# Persistent links for zvol
#
# persistent disk links: /dev/zvol/dataset_name
#
# NOTE: We used to also create an additional tree of zvol symlinks located at
# /dev/dataset_name (i.e. without the 'zvol' path component) for
# compatibility reasons. These are no longer created anymore, and should
# not be relied upon.
#
KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM=="@udevdir@/zvol_id $devnode", SYMLINK+="zvol/%c"