From c15899c1cbed183c64550bca00ecc6993c849c85 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 5 Jan 2021 14:43:01 +0100 Subject: [PATCH] cfdisk: (man) add info when cfdisk writes to the device This is difference between (c)fdisk and GNU Parted, fdisks keep all changes in memory until user explicitly ask for write operation. Addresses: https://github.com/karelzak/util-linux/pull/1227 Signed-off-by: Karel Zak --- disk-utils/cfdisk.8 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8 index 20c021eea..042456e57 100644 --- a/disk-utils/cfdisk.8 +++ b/disk-utils/cfdisk.8 @@ -31,6 +31,10 @@ If you need advanced features, use .BR fdisk (8) instead. +All disk label changes will remain in memory only, and the disk will be +unmodified until you decide to write your changes. Be careful before using the +write command. + Since version 2.25 .B cfdisk supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any @@ -125,7 +129,7 @@ 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. +.B 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