summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-11-20 06:12:11 +0000
committertrasz <trasz@FreeBSD.org>2014-11-20 06:12:11 +0000
commit3f6d71ae791426f17356315932e7259beba813fa (patch)
tree1278f749cf03eb503d83b4c293223d7a14210a13 /sbin
parent0309e4e4bb0a82c618a051893d6b60623a482b47 (diff)
downloadFreeBSD-src-3f6d71ae791426f17356315932e7259beba813fa.zip
FreeBSD-src-3f6d71ae791426f17356315932e7259beba813fa.tar.gz
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
Diffstat (limited to 'sbin')
-rw-r--r--sbin/growfs/growfs.812
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/growfs/growfs.8 b/sbin/growfs/growfs.8
index 04f2884..587cce6 100644
--- a/sbin/growfs/growfs.8
+++ b/sbin/growfs/growfs.8
@@ -96,14 +96,14 @@ This value defaults to the size of the raw partition specified in
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 ,
OpenPOWER on IntegriCloud