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

7 lines
253 B
Plaintext

# 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="@prefix@/bin/zvol_id $tempnode" SYMLINK+="zvol/%c %c"