xref: /freebsd/sys/contrib/openzfs/udev/rules.d/90-zfs.rules.in (revision e25152834cdf3b353892835a4f3b157e066a8ed4)
1*eda14cbcSMatt MacySUBSYSTEM!="block|misc", GOTO="zfs_end"
2*eda14cbcSMatt MacyACTION!="add|change", GOTO="zfs_end"
3*eda14cbcSMatt Macy
4*eda14cbcSMatt MacyENV{ID_FS_TYPE}=="zfs", RUN+="/sbin/modprobe zfs"
5*eda14cbcSMatt MacyENV{ID_FS_TYPE}=="zfs_member", RUN+="/sbin/modprobe zfs"
6*eda14cbcSMatt Macy
7*eda14cbcSMatt MacyKERNEL=="null", SYMLINK+="root"
8*eda14cbcSMatt MacySYMLINK=="null", SYMLINK+="root"
9*eda14cbcSMatt Macy
10*eda14cbcSMatt MacyKERNEL=="zfs", MODE="0666", OPTIONS+="static_node=zfs"
11*eda14cbcSMatt Macy
12*eda14cbcSMatt MacyLABEL="zfs_end"
13