freebsd-dev/udev/rules.d/60-zvol.rules.in

7 lines
250 B
Plaintext
Raw Normal View History

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