aboutsummaryrefslogtreecommitdiff
path: root/sbin/growfs/growfs.8
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2014-11-20 06:12:11 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2014-11-20 06:12:11 +0000
commit85941ebd334a7f15314c64b3f291451163e8f4ca (patch)
tree1278f749cf03eb503d83b4c293223d7a14210a13 /sbin/growfs/growfs.8
parent7bfcb6f69863c0b2eb0bd86eb754d611736f5f94 (diff)
downloadsrc-85941ebd334a7f15314c64b3f291451163e8f4ca.tar.gz
src-85941ebd334a7f15314c64b3f291451163e8f4ca.zip
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
Notes
Notes: svn path=/head/; revision=274741
Diffstat (limited to 'sbin/growfs/growfs.8')
-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 04f28840652f..587cce6c15d3 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 ,