summaryrefslogtreecommitdiffstats
path: root/udev/rules.d/90-zfs.rules.in
blob: 82f8cf1cf5ec2877f925592fa76367925336fe6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SUBSYSTEM!="block|misc", 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"

KERNEL=="zfs", MODE="0666", OPTIONS+="static_node=zfs"

LABEL="zfs_end"