If rootfs actually has the mountpoint '/', this would strip the leading slash on children, breaking the whole thing, so we have to append '/' just in case.

pull/106/head
Marisa Kirisame 8 years ago
parent bf8c238f0e
commit 93e946155e
  1. 2
      src/zfs-utils/zfs-utils.initcpio.hook

@ -74,7 +74,7 @@ zfs_mount_handler () {
fi
;;
*)
mount -t zfs -o "zfsutil,${rwopt_exp}" "${dataset}" "${node}${mountpoint##${rootmnt}}"
mount -t zfs -o "zfsutil,${rwopt_exp}" "${dataset}" "${node}/${mountpoint##${rootmnt}}"
;;
esac
done

Loading…
Cancel
Save