NetBSD-Bugs archive

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

misc/45695: fdisk(8) has misleading naming of logical partitions



>Number:         45695
>Category:       misc
>Synopsis:       fdisk(8) has misleading naming of logical partitions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 08 01:10:01 +0000 2011
>Originator:     Julian Fagir
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
fdisk(8) has no mention of the word 'logical' partition, but always talks about 
extended partitions. This is misleading, there is only one extended partition 
(though several EBRs), the inner ones are usually called logical partitions.

Ultimate proof by wikipedia link: 
http://en.wikipedia.org/wiki/Extended_partition ;-)

The attached diff should have replaced all the misleading 'extended's by 
'logical's.
>How-To-Repeat:

>Fix:
Index: sbin/fdisk/fdisk.8
===================================================================
RCS file: /cvsroot/src/sbin/fdisk/fdisk.8,v
retrieving revision 1.73
diff -u -r1.73 fdisk.8
--- sbin/fdisk/fdisk.8  1 Dec 2011 23:14:06 -0000       1.73
+++ sbin/fdisk/fdisk.8  7 Dec 2011 11:38:28 -0000
@@ -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