NetBSD Problem Report #43130

From www@NetBSD.org  Tue Apr  6 01:31:39 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 4206B63B86C
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  6 Apr 2010 01:31:39 +0000 (UTC)
Message-Id: <20100406013138.DD3C663B11D@www.NetBSD.org>
Date: Tue,  6 Apr 2010 01:31:38 +0000 (UTC)
From: bughunting@xs4all.nl
Reply-To: bughunting@xs4all.nl
To: gnats-bugs@NetBSD.org
Subject: fdisk(8) manpage contains minor errors
X-Send-Pr-Version: www-1.0

>Number:         43130
>Category:       bin
>Synopsis:       fdisk(8) manpage contains minor errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 06 01:35:00 +0000 2010
>Closed-Date:    Wed Apr 07 09:41:25 +0000 2010
>Last-Modified:  Wed Apr 07 09:45:02 +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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 07 Apr 2010 09:41:25 +0000
State-Changed-Why:
Committed, thank you.
(please use diff -u)


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43130 CVS commit: src/sbin/fdisk
Date: Wed, 7 Apr 2010 09:40:58 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Wed Apr  7 09:40:58 UTC 2010

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

 Log Message:
 Minor punctuation fixes, improve and sort SYNOPSIS, sort flag descriptions.
 From Bug Hunting in PR 43130.


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

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.