svn commit: r274741 - head/sbin/growfs

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Nov 20 06:12:12 UTC 2014


Author: trasz
Date: Thu Nov 20 06:12:11 2014
New Revision: 274741
URL: https://svnweb.freebsd.org/changeset/base/274741

Log:
  Add example on how to use gpart before growfs.  While here, reorder examples
  so that the simplest one comes first.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sbin/growfs/growfs.8

Modified: head/sbin/growfs/growfs.8
==============================================================================
--- head/sbin/growfs/growfs.8	Thu Nov 20 05:54:29 2014	(r274740)
+++ head/sbin/growfs/growfs.8	Thu Nov 20 06:12:11 2014	(r274741)
@@ -96,14 +96,14 @@ This value defaults to the size of the r
 will enlarge the file system to the size of the entire partition).
 .El
 .Sh EXAMPLES
-Enlarge
+Expand root filesystem to fill up available space:
+.Dl growfs /
+.Pp
+Resize
 .Pa /dev/ada0p1
-up to 2GB if there is enough space in
-.Pa /dev/ada0p1 :
+partition to 2GB and expand the filesystem:
+.Dl gpart resize -i 1 -s 2G ada0
 .Dl growfs -s 2G /dev/ada0p1
-.Pp
-Enlarge root filesystem to fill up available space:
-.Dl growfs /
 .Sh SEE ALSO
 .Xr dumpfs 8 ,
 .Xr ffsinfo 8 ,


More information about the svn-src-all mailing list