svn commit: r276000 - stable/10/sbin/growfs

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Dec 21 11:25:28 UTC 2014


Author: trasz
Date: Sun Dec 21 11:25:26 2014
New Revision: 276000
URL: https://svnweb.freebsd.org/changeset/base/276000

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

Modified:
  stable/10/sbin/growfs/growfs.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sbin/growfs/growfs.8
==============================================================================
--- stable/10/sbin/growfs/growfs.8	Sun Dec 21 11:23:59 2014	(r275999)
+++ stable/10/sbin/growfs/growfs.8	Sun Dec 21 11:25:26 2014	(r276000)
@@ -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-stable mailing list