]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: (man) add info when cfdisk writes to the device
authorKarel Zak <kzak@redhat.com>
Tue, 5 Jan 2021 13:43:01 +0000 (14:43 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 5 Jan 2021 13:43:01 +0000 (14:43 +0100)
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 <kzak@redhat.com>
disk-utils/cfdisk.8

index 20c021eea9c775c8ca297f43caf2719bee4cf3c0..042456e573724895982bf8744829dc4ef2f816bf 100644 (file)
@@ -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