We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f18a690 commit c96aa01Copy full SHA for c96aa01
contrib/initramfs/scripts/zfs
@@ -935,9 +935,14 @@ mountroot()
935
936
# Go through the complete list (recursively) of all filesystems below
937
# the real root dataset
938
- filesystems=$("${ZFS}" list -oname -tfilesystem -H -r "${ZFS_BOOTFS}")
939
- for fs in $filesystems $ZFS_INITRD_ADDITIONAL_DATASETS
940
- do
+ filesystems="$("${ZFS}" list -oname -tfilesystem -H -r "${ZFS_BOOTFS}")"
+ OLD_IFS="$IFS" ; IFS="
+"
941
+ for fs in $filesystems; do
942
+ IFS="$OLD_IFS" mount_fs "$fs"
943
+ done
944
+ IFS="$OLD_IFS"
945
+ for fs in $ZFS_INITRD_ADDITIONAL_DATASETS; do
946
mount_fs "$fs"
947
done
948
0 commit comments