1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

growfs: Commit the changes after expanding the partition

This fix the problem in arm snapshot present since at least 6 months where
growfs was failing at firstboot and dropped you in a single user shell.
This commit is contained in:
Emmanuel Vadot 2017-11-27 15:39:11 +00:00
parent 1de7b4b805
commit b7f38d774d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326278

View File

@ -90,6 +90,7 @@ growfs_start ()
exit 0
}
}' dev="$rawdev"
gpart commit "$rootdev"
growfs -y /dev/"$rootdev"
}