aboutsummaryrefslogtreecommitdiffstats
path: root/udev/rules.d/60-zvol.rules.in
blob: 9a2a473a841c145e5e33e0183648a0ec914942d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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"