summaryrefslogtreecommitdiffstats
path: root/udev/rules.d/90-zfs.rules.in
blob: 52e1d639303e2787e6a151f27ce8661cf0facb5a (plain)
1
2
3
4
5
6
7
8
9
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"