svn commit: r332731 - in stable: 10/etc/rc.d 11/etc/rc.d

Glen Barber gjb at FreeBSD.org
Wed Apr 18 16:22:24 UTC 2018


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/11/etc/rc.d/growfs
Directory Properties:
  stable/11/   (props changed)

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

Modified: stable/11/etc/rc.d/growfs
==============================================================================
--- stable/11/etc/rc.d/growfs	Wed Apr 18 15:44:54 2018	(r332730)
+++ stable/11/etc/rc.d/growfs	Wed Apr 18 16:22:23 2018	(r332731)
@@ -90,6 +90,7 @@ growfs_start ()
 		exit 0
 	}
 }' dev="$rawdev"
+	gpart commit "$rootdev"
 	growfs -y /dev/"$rootdev"
 }
 


More information about the svn-src-all mailing list