NetBSD-Bugs archive

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

bin/43130: fdisk(8) manpage contains minor errors



>Number:         43130
>Category:       bin
>Synopsis:       fdisk(8) manpage contains minor errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 06 01:35:00 +0000 2010
>Originator:     Bug Hunting
>Release:        5.99.26
>Organization:
>Environment:
>Description:
The fdisk(8) manpage contains minor punctuation, `SYNOPSIS' section, and flag
(order) errors.
>How-To-Repeat:
"man 8 fdisk".
>Fix:
Apply the following proposed patch.  (Note: although not implemented here,
the complete ``[-0 | -1 [...] [/bootmenu]]]'' part might be put on a separate 
line
as well.)

Index: fdisk.8
===================================================================
RCS file: /cvsroot/src/sbin/fdisk/fdisk.8,v
retrieving revision 1.69
diff -r1.69 fdisk.8
3c3
< .Dd December 23, 2009
---
> .Dd April 6, 2010
11c11
< .Op Fl afiuvBFS
---
> .Op Fl aBFfiSuv
13,16c13,16
< .Op Fl 0 | 1 | 2 | 3 | E Ar number
< .Ek
< .Bk -words
< .Op Fl t Ar disktab
---
> .Oo
> .Fl 0 | 1 | 2 | 3 | E Ar number
> .Op Fl s Ar id/start/size Ns Bq Ar /bootmenu
> .Oc
19c19
< .Op Fl T Ar disktype
---
> .Op Fl r Ar file | Fl w Ar file
28c28
< .Op Fl s Ar id/start/size Ns Bq Ar /bootmenu
---
> .Op Fl c Ar bootcode
31c31
< .Op Fl c Ar bootcode
---
> .Op Fl T Ar disktype
34c34
< .Op Fl r|w Ar file
---
> .Op Fl t Ar disktab
92c92
< However
---
> However,
165,168d164
< .It Fl a
< Change the active partition.
< In interactive mode this question will be asked after the partitions
< have been processed.
187a184,193
> .It Fl a
> Change the active partition.
> In interactive mode this question will be asked after the partitions
> have been processed.
> .It Fl B
> On an i386 or amd64 system, interactively update the boot selector settings.
> (The boot selector permits the user to interactively select the boot
> partition, and thus which operating system is run, at system boot time; see
> .Xr mbr 8
> for more information.)
202,208d207
< .It Fl B
< On an i386 or amd64 system, interactively update the boot selector settings.
< (The boot selector permits the user to interactively select the boot
< partition, and thus which operating system is run, at system boot time.
< See
< .Xr mbr 8
< for more information.)
231a231,249
> .It Fl F
> Indicate that
> .Ar device
> is a regular file.
> Unless the geometry of
> .Ar device
> is told to
> .Nm
> by
> .Fl T Ar disktype ,
> .Nm
> will count the 512-byte sectors in
> .Ar device
> and produce a fake geometry.
> If
> .Ar device
> is a regular file,
> .Fl F
> will be used implicitly.
255,273d272
< .It Fl F
< Indicate that
< .Ar device
< is a regular file.
< Unless the geometry of
< .Ar device
< is told to
< .Nm
< by
< .Fl T Ar disktype ,
< .Nm
< will count the 512-byte sectors in
< .Ar device
< and produce a fake geometry.
< If
< .Ar device
< is a regular file,
< .Fl F
< will be used implicitly.
291a291,295
> .It Fl S
> When used with no other flags print a series of
> .Pa /bin/sh
> commands for setting variables to the partition information.
> This could be used by installation scripts.
301,305c305,309
< .It Fl S
< When used with no other flags print a series of
< .Pa /bin/sh
< commands for setting variables to the partition information.
< This could be used by installation scripts.
---
> .It Fl T Ar disktype
> Use the disklabel
> .Ar disktype
> instead of the disklabel on
> .Ar device .
313,317d316
< .It Fl T Ar disktype
< Use the disklabel
< .Ar disktype
< instead of the disklabel on
< .Ar device .
430c429
< This example disk is divided into four partitions the last of which is
---
> This example disk is divided into four partitions, the last of which is
525c524
< If the partition does not apear to be bootable,
---
> If the partition does not appear to be bootable,
570c569
< is run, however if you move the disk to a different system the
---
> is run; however, if you move the disk to a different system, the



Home | Main Index | Thread Index | Old Index