xref: /freebsd/sys/contrib/openzfs/udev/rules.d/90-zfs.rules.in (revision e25152834cdf3b353892835a4f3b157e066a8ed4)
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