summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream/Manual-pages-document-the-resize-command.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:14:45 +0000
commit1ceecc69711e82bee12203b95ac8fccfaad58b2d (patch)
treeef6b46cbd3d743073ea886c5d1eea074a0a2e295 /debian/patches/upstream/Manual-pages-document-the-resize-command.patch
parentAdding upstream version 2.36.1. (diff)
downloadutil-linux-1ceecc69711e82bee12203b95ac8fccfaad58b2d.tar.xz
util-linux-1ceecc69711e82bee12203b95ac8fccfaad58b2d.zip
Adding debian version 2.36.1-8+deb11u1.debian/2.36.1-8+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/upstream/Manual-pages-document-the-resize-command.patch')
-rw-r--r--debian/patches/upstream/Manual-pages-document-the-resize-command.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/upstream/Manual-pages-document-the-resize-command.patch b/debian/patches/upstream/Manual-pages-document-the-resize-command.patch
new file mode 100644
index 0000000..9bb0390
--- /dev/null
+++ b/debian/patches/upstream/Manual-pages-document-the-resize-command.patch
@@ -0,0 +1,31 @@
+From: Vincent McIntyre <vincent.mcintyre@csiro.au>
+Date: Fri, 1 Jan 2021 13:37:52 +1100
+Subject: Manual pages: document the 'resize' command
+
+Reported in https://bugs.debian.org/906918, https://bugs.debian.org/915971.
+
+Signed-off-by: Vincent McIntyre <vincent.mcintyre@csiro.au>
+---
+ disk-utils/cfdisk.8 | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8
+index a61aad7..4e3dfca 100644
+--- a/disk-utils/cfdisk.8
++++ b/disk-utils/cfdisk.8
+@@ -115,6 +115,15 @@ MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB
+ Quit the program. This will exit the program without writing any data to
+ the disk.
+ .TP
++.B r
++Reduce or enlarge the current partition.
++.B cfdisk
++then prompts you for the new size of the partition.
++The default size is the current size.
++A partition marked as free space or marked as unusable cannot be resized.
++
++Note that reducing the size of a partition might destroy data on that partition.
++.TP
+ .B s
+ Sort the partitions in ascending start-sector order. When deleting and
+ adding partitions, it is likely that the numbering of the partitions will