contrib/i-t: properly mount root's children with spaces
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11898
This commit is contained in:
parent
d8ced6613d
commit
ac541438a2
|
@ -935,9 +935,14 @@ mountroot()
|
||||||
|
|
||||||
# Go through the complete list (recursively) of all filesystems below
|
# Go through the complete list (recursively) of all filesystems below
|
||||||
# the real root dataset
|
# the real root dataset
|
||||||
filesystems=$("${ZFS}" list -oname -tfilesystem -H -r "${ZFS_BOOTFS}")
|
filesystems="$("${ZFS}" list -oname -tfilesystem -H -r "${ZFS_BOOTFS}")"
|
||||||
for fs in $filesystems $ZFS_INITRD_ADDITIONAL_DATASETS
|
OLD_IFS="$IFS" ; IFS="
|
||||||
do
|
"
|
||||||
|
for fs in $filesystems; do
|
||||||
|
IFS="$OLD_IFS" mount_fs "$fs"
|
||||||
|
done
|
||||||
|
IFS="$OLD_IFS"
|
||||||
|
for fs in $ZFS_INITRD_ADDITIONAL_DATASETS; do
|
||||||
mount_fs "$fs"
|
mount_fs "$fs"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue