Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/fdisk According to most other OSes and documentation so...



details:   https://anonhg.NetBSD.org/src/rev/4adc74404476
branches:  trunk
changeset: 772376:4adc74404476
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Dec 31 22:18:56 2011 +0000

description:
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.

diffstat:

 sbin/fdisk/fdisk.8 |  20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diffs (71 lines):

diff -r d1cef1fbd56a -r 4adc74404476 sbin/fdisk/fdisk.8
--- a/sbin/fdisk/fdisk.8        Sat Dec 31 21:31:15 2011 +0000
+++ b/sbin/fdisk/fdisk.8        Sat Dec 31 22:18:56 2011 +0000
@@ -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 @@
 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 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 @@
 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 @@
 .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 @@
 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 @@
 .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



Home | Main Index | Thread Index | Old Index