ZTS: Slightly increase dedup_quota limit
[zfs.git] / udev / rules.d / 69-vdev.rules.in
blobe0f23efc7283ca0bd7f6c43ec74a87d87dbc511f
2 # @udevdir@/rules.d/69-vdev.rules
5 ENV{DEVTYPE}=="disk", IMPORT{program}="@udevdir@/vdev_id -d %k"
6 ENV{DEVTYPE}=="partition", IMPORT{program}="@udevdir@/vdev_id -d %k"
8 KERNEL=="*[!0-9]", ENV{SUBSYSTEM}=="block", ENV{ID_VDEV}=="?*", SYMLINK+="$env{ID_VDEV_PATH}"
9 KERNEL=="nvme*[0-9]n*[0-9]", ENV{SUBSYSTEM}=="block", ENV{DEVTYPE}=="disk", ENV{ID_VDEV}=="?*", SYMLINK+="$env{ID_VDEV_PATH}"
10 KERNEL=="*[0-9]", ENV{SUBSYSTEM}=="block", ENV{DEVTYPE}=="partition", ENV{ID_VDEV}=="?*", SYMLINK+="$env{ID_VDEV_PATH}-part%n"
11 KERNEL=="dm-[0-9]*", ENV{SUBSYSTEM}=="block", ENV{ID_VDEV}=="?*", SYMLINK+="$env{ID_VDEV_PATH}"
13 # Enclosure device symlink rules
14 ENV{SUBSYSTEM}=="scsi_generic", IMPORT{program}="@udevdir@/vdev_id -e"
15 ENV{SUBSYSTEM}=="scsi_generic", ENV{ID_ENCLOSURE}=="?*", SYMLINK+="$env{ID_ENCLOSURE_PATH}"