]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - udev/rules.d/90-zfs.rules.in
Imported Upstream version 0.6.2
[mirror_zfs-debian.git] / udev / rules.d / 90-zfs.rules.in
index 52e1d639303e2787e6a151f27ce8661cf0facb5a..a2715d2e78140c51f0314b06ac6c152691d21d7e 100644 (file)
@@ -1,4 +1,4 @@
-SUBSYSTEM!="block", GOTO="zfs_end"
+SUBSYSTEM!="block|misc", GOTO="zfs_end"
 ACTION!="add|change", GOTO="zfs_end"
 
 ENV{ID_FS_TYPE}=="zfs", RUN+="/sbin/modprobe zfs"
@@ -7,4 +7,6 @@ ENV{ID_FS_TYPE}=="zfs_member", RUN+="/sbin/modprobe zfs"
 KERNEL=="null", SYMLINK+="root"
 SYMLINK=="null", SYMLINK+="root"
 
+SUBSYSTEM=="misc", KERNEL=="zfs", RUN+="@sbindir@/zpool list"
+
 LABEL="zfs_end"