diff options
author | trasz <trasz@FreeBSD.org> | 2014-11-20 06:12:11 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-11-20 06:12:11 +0000 |
commit | 3f6d71ae791426f17356315932e7259beba813fa (patch) | |
tree | 1278f749cf03eb503d83b4c293223d7a14210a13 /sbin | |
parent | 0309e4e4bb0a82c618a051893d6b60623a482b47 (diff) | |
download | FreeBSD-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.8 | 12 |
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 , |