Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix false positives from valgrind: memcpy via no-op structure copy
[tools/e2fsprogs.git]
/
resize
/
resize2fs.8.in
diff --git
a/resize/resize2fs.8.in
b/resize/resize2fs.8.in
index
8ea7b15
..
81a5135
100644
(file)
--- a/
resize/resize2fs.8.in
+++ b/
resize/resize2fs.8.in
@@
-4,7
+4,7
@@
.\" .TH RESIZE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
.TH RESIZE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
.SH NAME
.\" .TH RESIZE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
.TH RESIZE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
.SH NAME
-resize2fs \- ext2 file system resizer
+resize2fs \- ext2
/ext3
file system resizer
.SH SYNOPSIS
.B resize2fs
[
.SH SYNOPSIS
.B resize2fs
[
@@
-54,10
+54,15
@@
program does not manipulate the size of partitions. If you wish to enlarge
a filesystem, you must first make sure you can expand the size of the
underlying partition first. This can be done using
.BR fdisk (8)
a filesystem, you must first make sure you can expand the size of the
underlying partition first. This can be done using
.BR fdisk (8)
-by deleting the partition and recreating it with a larger size. When
+by deleting the partition and recreating it with a larger size.
+When
recreating the partition, make sure you create it with the same starting
disk cylinder as before! Otherwise, the resize operation will
recreating the partition, make sure you create it with the same starting
disk cylinder as before! Otherwise, the resize operation will
-certainly not work, and you may lose your entire filesystem.
+certainly not work, and you may lose your entire filesystem.
+After running
+.BR fdisk (8),
+run resize2fs to resize the ext2 filesystem
+to use all of the space in the newly enlarged partition.
.PP
If you wish to shrink an ext2 partition, first use
.B resize2fs
.PP
If you wish to shrink an ext2 partition, first use
.B resize2fs