Module Name:    src
Committed By:   riz
Date:           Sat Dec 31 22:18:56 UTC 2011

Modified Files:
        src/sbin/fdisk: fdisk.8

Log Message:
According to most other OSes and documentation sources, an MBR has
one "extended" partition and the partitions inside that are "logical"
partitions.  Make fdisk(8) man page follow suit.

Patch from Julian Fagir in PR#45695.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sbin/fdisk/fdisk.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/fdisk/fdisk.8
diff -u src/sbin/fdisk/fdisk.8:1.73 src/sbin/fdisk/fdisk.8:1.74
--- src/sbin/fdisk/fdisk.8:1.73	Thu Dec  1 23:14:06 2011
+++ src/sbin/fdisk/fdisk.8	Sat Dec 31 22:18:56 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: fdisk.8,v 1.73 2011/12/01 23:14:06 wiz Exp $
+.\"	$NetBSD: fdisk.8,v 1.74 2011/12/31 22:18:56 riz Exp $
 .\"
 .Dd December 1, 2011
 .Dt FDISK 8
@@ -60,7 +60,8 @@ and (optionally, depending on the boot c
 for selecting a partition to be booted.
 There can be at most 4 partitions defined in sector 0,
 one of which can be an extended
-partition which can be split into any number of sub-partitions.
+partition which can be split into any number of sub-partitions (then called 
+logical partitions).
 .Pp
 The boot code in the MBR is usually invoked by the BIOS or firmware,
 and the MBR passes control to the next stage boot code
@@ -164,7 +165,7 @@ Specify partition slot 2 to be printed o
 Specify partition slot 3 to be printed or updated.
 .It Fl A Ar ptn_alignment Ns Bq Ar /ptn_0_offset
 Specify the alignment for all partitions and optionally the offset for the
-first partition of the disk and of extended partitions.
+first partition of the disk and of logical partitions.
 If
 .Ar ptn_alignment
 is specified and
@@ -223,11 +224,11 @@ was specified for any partitions
 on an i386 machine, and leave the bootcode empty for other
 machines.
 .It Fl E Ar number
-Specify extended partition
+Specify logical partition
 .Ar number
 to be printed or updated.
-If the specified extended partition doesn't exist on updating partition data
-an additional extended partition will be created.
+If the specified logical partition doesn't exist on updating partition data
+an additional logical partition will be created.
 .It Fl F
 Indicate that
 .Ar device
@@ -436,7 +437,7 @@ An example follows:
 .Pp
 This example disk is divided into four partitions, the last of which is
 an extended partition.
-The sub-partitions of the extended partition are also shown.
+The logical partitions of the extended partition are also shown.
 In this case there is no free space in either the disk or in the extended
 partition.
 .Pp
@@ -489,7 +490,7 @@ If the partition starts (or ends) on a c
 sector values are omitted.
 If
 .Fl v
-is not specified the start of extended partitions and the first partition
+is not specified the start of logical partitions and the first partition
 on the disk are rounded down to include the mandatory red tape in the
 preceding track.
 .It Active
@@ -601,7 +602,8 @@ Default location of i386 bootcode
 .It Pa /usr/mdec/mbr_bootsel
 Default location of i386 bootselect code
 .It Pa /usr/mdec/mbr_ext
-Default location of i386 bootselect for extended partitions
+Default location of i386 bootselect for extended partitions (i.e., NetBSD on 
+logical partitions)
 .El
 .Sh EXAMPLES
 Update MBR partition data of

Reply via email to