1
0
mirror of https://git.proxmox.com/git/mirror_zfs.git synced 2025-01-19 06:26:33 +03:00
mirror_zfs/udev/rules.d/90-zfs.rules.in

13 lines
331 B
Plaintext
Raw Normal View History

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"
SUBSYSTEM=="misc", KERNEL=="zfs", RUN+="@sbindir@/zpool list"
LABEL="zfs_end"