Author: manu
Date: Mon Nov 27 15:39:11 2017
New Revision: 326278
URL: https://svnweb.freebsd.org/changeset/base/326278

Log:
  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.

Modified:
  head/etc/rc.d/growfs

Modified: head/etc/rc.d/growfs
==============================================================================
--- head/etc/rc.d/growfs        Mon Nov 27 15:38:40 2017        (r326277)
+++ head/etc/rc.d/growfs        Mon Nov 27 15:39:11 2017        (r326278)
@@ -90,6 +90,7 @@ growfs_start ()
                exit 0
        }
 }' dev="$rawdev"
+       gpart commit "$rootdev"
        growfs -y /dev/"$rootdev"
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to