Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 15:39:11 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326278 - head/etc/rc.d
Message-ID:  <201711271539.vARFdB47011752@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711271539.vARFdB47011752>