And improve what is said about four of the dangerous options. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- fdisks/sfdisk.8 | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/fdisks/sfdisk.8 b/fdisks/sfdisk.8 index 2b166fa..e42c5dd 100644 --- a/fdisks/sfdisk.8 +++ b/fdisks/sfdisk.8 @@ -326,6 +326,19 @@ DOS and Linux should interpret the partition table in the same way. Of course one can only know where cylinder boundaries are when one knows what geometry DOS will use for this disk.) .TP +.BR \-U ", " "\-\-unhide " \fIdevice\fR +Make various Microsoft partition types unhidden. For full list see types +output. +.IP +.nf +.if t .ft CW + % sfdisk --list-types | grep Hidden +.fi +.IP +Notice that the +.B Hidden NTFS WinRE +(Windows Recovery Environment) does not have non-hidden equivalent. +.TP .BR \-\-IBM ", " \-\-leave\-last Certain IBM diagnostic programs assume that they can use the last cylinder on a disk for disk-testing purposes. If you think @@ -353,16 +366,18 @@ if it is. This option suppresses the test. (On the other hand, the \fB\-f\fR option would force \fBsfdisk\fR to continue even when this test fails.) .TP .B \-\-in\-order -Caution, see warning section. To be documented. +Partitions are in order. See also warning section. .TP .B \-\-not\-in\-order -Caution, see warning section. To be documented. +Partitions are not in order. See also warning section. .TP .B \-\-inside\-outer -Caution, see warning section. Chaining order. +All logical partitions are inside outermost extended. See also warning +section and chaining. .TP .B \-\-not\-inside\-outer -Caution, see warning section. Chaining order. +Some, or none, of the logical partitions are not inside outermost +extended. See also warning section and chaining. .TP .B \-\-nested Caution, see warning section. Every partition is contained in the @@ -392,6 +407,9 @@ After destroying your filesystems with an unfortunate .B sfdisk command, you would have been able to restore the old situation if only you had preserved it using the \fB\-O\fR flag. +.TP +.BR \-1 ", " \-\-one-only +Reserved option that does nothing currently. .SH THEORY Block 0 of a disk (the Master Boot Record) contains among -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html