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

7 lines
255 B
Plaintext
Raw Normal View History

# Persistent links for zvol
#
# persistent disk links: /dev/zvol/dataset_name
# also creates compatibility symlink of /dev/dataset_name
KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM="@udevdir@/zvol_id $tempnode", SYMLINK+="zvol/%c %c"