summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-05-20 13:29:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-05-20 13:29:51 +0000
commit4b09ad9f8561e6a8698ea53a610c3dab7f8bf22a (patch)
tree064d379f678b76bbe8281e7ec99928bcee161a34 /sbin
parentac90cb68704e09d3e4419460fbedc52094c2d6bf (diff)
document the optional arg to "flag", as requested by Thomas Pfaff;
this version after some feedback from krw and otto; ok otto krw
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/fdisk.818
1 files changed, 11 insertions, 7 deletions
diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8
index 2ce03f1e447..80037409373 100644
--- a/sbin/fdisk/fdisk.8
+++ b/sbin/fdisk/fdisk.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fdisk.8,v 1.69 2010/03/27 13:56:49 jmc Exp $
+.\" $OpenBSD: fdisk.8,v 1.70 2010/05/20 13:29:50 jmc Exp $
.\"
.\" Copyright (c) 1997 Tobias Weingartner
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2010 $
+.Dd $Mdocdate: May 20 2010 $
.Dt FDISK 8
.Os
.Sh NAME
@@ -303,14 +303,18 @@ may be appended to indicate bytes, kilobytes, megabytes, or gigabytes.
The special size value
.Sq *
will cause the partition to be sized to use the remainder of the disk.
-.It Cm flag Ar #
-Make the given MBR partition table entry bootable.
-Only one entry can be marked bootable.
+.It Cm flag Ar # Op Ar value
+Make the given MBR partition table entry bootable
+and mark all others as not bootable
+(only one entry can be marked bootable).
.\" If you wish to boot from an extended
.\" MBR partition, you will need to mark the MBR partition table entry for the
.\" extended MBR partition as bootable.
-.\" If an optional value is given, the MBR partition is marked with the given
-.\" value, and other MBR partitions are not touched.
+If a
+.Ar value
+of 0 is given,
+the MBR partition is marked as not bootable,
+but no other MBR partitions are touched.
.It Cm update
Update the machine MBR bootcode and 0xAA55 signature in the memory copy
of the currently selected boot block.