diff --git a/zfs-utils-git/zfs-utils.initcpio.install b/zfs-utils-git/zfs-utils.initcpio.install index 058543f..bc2a3e1 100644 --- a/zfs-utils-git/zfs-utils.initcpio.install +++ b/zfs-utils-git/zfs-utils.initcpio.install @@ -45,6 +45,7 @@ build() { echo 'zfs' >>"$BUILDROOT/etc/filesystems" [[ -f /etc/zfs/zpool.cache ]] && add_file "/etc/zfs/zpool.cache" + [[ -f /etc/modprobe.d/zfs.conf ]] && add_file "/etc/modprobe.d/zfs.conf" [[ -f /etc/hostid ]] && add_file "/etc/hostid" } @@ -85,6 +86,9 @@ Examples: zfs=tank/root rw +If you want to set properties for zfs-on-linux module, you should add them to +/etc/modprobe.d/zfs.conf and then rebuild initcpio. + HELPEOF } diff --git a/zfs-utils-lts/zfs-utils.initcpio.install b/zfs-utils-lts/zfs-utils.initcpio.install index 058543f..bc2a3e1 100644 --- a/zfs-utils-lts/zfs-utils.initcpio.install +++ b/zfs-utils-lts/zfs-utils.initcpio.install @@ -45,6 +45,7 @@ build() { echo 'zfs' >>"$BUILDROOT/etc/filesystems" [[ -f /etc/zfs/zpool.cache ]] && add_file "/etc/zfs/zpool.cache" + [[ -f /etc/modprobe.d/zfs.conf ]] && add_file "/etc/modprobe.d/zfs.conf" [[ -f /etc/hostid ]] && add_file "/etc/hostid" } @@ -85,6 +86,9 @@ Examples: zfs=tank/root rw +If you want to set properties for zfs-on-linux module, you should add them to +/etc/modprobe.d/zfs.conf and then rebuild initcpio. + HELPEOF }