X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=udev%2Frules.d%2F90-zfs.rules.in;fp=udev%2Frules.d%2F90-zfs.rules.in;h=52e1d639303e2787e6a151f27ce8661cf0facb5a;hb=146cde8f4acd52d258ba80817dd1134702a91954;hp=0000000000000000000000000000000000000000;hpb=9c4f40b894dd5b5c2ef18546d23d7e91095ac509;p=zfs.git diff --git a/udev/rules.d/90-zfs.rules.in b/udev/rules.d/90-zfs.rules.in new file mode 100644 index 0000000..52e1d63 --- /dev/null +++ b/udev/rules.d/90-zfs.rules.in @@ -0,0 +1,10 @@ +SUBSYSTEM!="block", GOTO="zfs_end" +ACTION!="add|change", GOTO="zfs_end" + +ENV{ID_FS_TYPE}=="zfs", RUN+="/sbin/modprobe zfs" +ENV{ID_FS_TYPE}=="zfs_member", RUN+="/sbin/modprobe zfs" + +KERNEL=="null", SYMLINK+="root" +SYMLINK=="null", SYMLINK+="root" + +LABEL="zfs_end"