Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 16:22:23 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r332731 - in stable: 10/etc/rc.d 11/etc/rc.d
Message-ID:  <201804181622.w3IGMNeH065113@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Wed Apr 18 16:22:23 2018
New Revision: 332731
URL: https://svnweb.freebsd.org/changeset/base/332731

Log:
  MFC r326278 (manu):
  
   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.
  
  Note: In addition to this merge, kern.geom.part.mbr.enforce_chs has
  been enabled on the build machine to mitigate against the issue in
  the PR referenced.
  
  PR:		226536
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/etc/rc.d/growfs
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/etc/rc.d/growfs
Directory Properties:
  stable/11/   (props changed)

Modified: stable/10/etc/rc.d/growfs
==============================================================================
--- stable/10/etc/rc.d/growfs	Wed Apr 18 15:44:54 2018	(r332730)
+++ stable/10/etc/rc.d/growfs	Wed Apr 18 16:22:23 2018	(r332731)
@@ -89,6 +89,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?201804181622.w3IGMNeH065113>