Blame SOURCES/0044-Document-resizepart-command.patch

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