summaryrefslogtreecommitdiffstats
path: root/etc/udev/rules.d/60-zvol.rules
blob: 803d4260d2170f79dcd943302aa9d2dc273dd2aa (plain)
1
2
3
4
5
6
# Peristent links for zvol
#
# persistent disk links: /dev/zvol/dataset_name
# also creates compatibilty symlink of /dev/dataset_name

KERNEL=="zd*" SUBSYSTEM=="block" ACTION=="add" PROGRAM="/usr/bin/zvol_id $tempnode" SYMLINK+="zvol/%c %c"