63 lines
1.8 KiB
Diff
63 lines
1.8 KiB
Diff
|
From 5c793853fe5cb0718d895c3394fb909c73c6fa1e Mon Sep 17 00:00:00 2001
|
||
|
From: Phillip Susi <psusi@ubuntu.com>
|
||
|
Date: Sun, 25 May 2014 14:43:39 -0400
|
||
|
Subject: [PATCH 132/134] Document resizepart command
|
||
|
|
||
|
---
|
||
|
doc/C/parted.8 | 4 ++++
|
||
|
doc/parted.texi | 16 ++++++++++++++++
|
||
|
2 files changed, 20 insertions(+)
|
||
|
|
||
|
diff --git a/doc/C/parted.8 b/doc/C/parted.8
|
||
|
index f8e6a3d..689011c 100644
|
||
|
--- a/doc/C/parted.8
|
||
|
+++ b/doc/C/parted.8
|
||
|
@@ -93,6 +93,10 @@ Rescue a lost partition that was located somewhere between \fIstart\fP and
|
||
|
\fIend\fP. If a partition is found, \fBparted\fP will ask if you want to
|
||
|
create an entry for it in the partition table.
|
||
|
.TP
|
||
|
+.B resizepart \fIpartition\fP \fIend\fP
|
||
|
+Change the \fIend\fP position of \fIpartition\fP. Note that this does not
|
||
|
+modify any filesystem present in the partition.
|
||
|
+.TP
|
||
|
.B rm \fIpartition\fP
|
||
|
Delete \fIpartition\fP.
|
||
|
.TP
|
||
|
diff --git a/doc/parted.texi b/doc/parted.texi
|
||
|
index 2b6f7f8..07aa702 100644
|
||
|
--- a/doc/parted.texi
|
||
|
+++ b/doc/parted.texi
|
||
|
@@ -423,6 +423,7 @@ GNU Parted provides the following commands:
|
||
|
* print::
|
||
|
* quit::
|
||
|
* rescue::
|
||
|
+* resizepart::
|
||
|
* rm::
|
||
|
* select::
|
||
|
* set::
|
||
|
@@ -744,6 +745,21 @@ It's back! :)
|
||
|
|
||
|
@end deffn
|
||
|
|
||
|
+@node resizepart
|
||
|
+@subsection resizepart
|
||
|
+@cindex resizepart, command description
|
||
|
+@cindex command description, resizepart
|
||
|
+
|
||
|
+@deffn Command resizepart @var{number} @var{end}
|
||
|
+
|
||
|
+Moves the @var{end} position of partition @var{number}. Note that this
|
||
|
+does not modify any filesystem present in the partition. If you wish to
|
||
|
+do this, you will need to use external tools, such as @command{resize2fs}.
|
||
|
+
|
||
|
+When growing a partition you will want to grow the filesystem afterwards,
|
||
|
+but when shrinking, you need to shrink the filesystem before the partition.
|
||
|
+@end deffn
|
||
|
+
|
||
|
@node rm
|
||
|
@subsection rm
|
||
|
@cindex rm, command description
|
||
|
--
|
||
|
1.9.3
|
||
|
|