Merge pull request #26 from noiseless/zfs_modprobe.d

Zfs modprobe.d
pull/30/head
Jesus Alvarez 10 years ago
commit dc9542a34f
  1. 4
      zfs-utils-git/zfs-utils.initcpio.install
  2. 4
      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
}

@ -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
}

Loading…
Cancel
Save