mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +03:00
146cde8f4a
This rule does not need to be dracut specific. Automatically loading the zfs module stack when a zfs device is detected is usually desirable. My only concern is that this might cause trouble for large pools where we don't want to automatically import the pool until all the disks are available. However, we'll cross that bridge when we come to it. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
11 lines
263 B
Plaintext
11 lines
263 B
Plaintext
SUBSYSTEM!="block", 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"
|
|
|
|
LABEL="zfs_end"
|