xref: /freebsd/sys/contrib/openzfs/udev/rules.d/90-zfs.rules.in (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1SUBSYSTEM!="block|misc", GOTO="zfs_end"
2ACTION!="add|change", GOTO="zfs_end"
3
4ENV{ID_FS_TYPE}=="zfs", RUN+="/sbin/modprobe zfs"
5ENV{ID_FS_TYPE}=="zfs_member", RUN+="/sbin/modprobe zfs"
6
7KERNEL=="null", SYMLINK+="root"
8SYMLINK=="null", SYMLINK+="root"
9
10KERNEL=="zfs", MODE="0666", OPTIONS+="static_node=zfs"
11
12LABEL="zfs_end"
13