diff options
author | Karel Zak | 2015-04-13 12:08:50 +0200 |
---|---|---|
committer | Karel Zak | 2015-04-13 12:08:50 +0200 |
commit | d754d5540fa3e5399f2f46a2781acaa12aa33500 (patch) | |
tree | bb34b7d116afcc343d56bd2b6015ccc0fc0a651f /disk-utils/sfdisk.8 | |
parent | tests: add sfdisk resize tests (diff) | |
download | kernel-qcow2-util-linux-d754d5540fa3e5399f2f46a2781acaa12aa33500.tar.gz kernel-qcow2-util-linux-d754d5540fa3e5399f2f46a2781acaa12aa33500.tar.xz kernel-qcow2-util-linux-d754d5540fa3e5399f2f46a2781acaa12aa33500.zip |
sfdisk: improve -N warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.8')
-rw-r--r-- | disk-utils/sfdisk.8 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 index 18227591d..a7b84cab1 100644 --- a/disk-utils/sfdisk.8 +++ b/disk-utils/sfdisk.8 @@ -57,7 +57,14 @@ input format. If standard input is a terminal, then \fBsfdisk\fR starts an interactive session. .sp If the option \fB\-N\fR is specified, then the changes are applied to -the partition addressed by \fIpartition-number\fR. +the partition addressed by \fIpartition-number\fR. The unspecified fields +of the partition are not modified. +.sp +Note that it's possible to address unused partition by \fB\-N\fR. For example +MBR always contains 4 partitions, but the number of the used partitions may be +smaller. In this case sfdisk follows the default values from the partition +table and it does not use built-in defaults for the unused partition specified +by \fB\-N\fR. See also \fB\---append\fR. .TP .BR \-A , " \-\-activate \fIdevice\fR [" \fIpartition-number\fR...] Switch on the bootable flag. If no \fIpartition-number\fR is specified, |