NetBSD Problem Report #43119

From www@NetBSD.org  Sun Apr  4 19:49:31 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 8362263B86C
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  4 Apr 2010 19:49:31 +0000 (UTC)
Message-Id: <20100404194930.CE4C363B11D@www.NetBSD.org>
Date: Sun,  4 Apr 2010 19:49:30 +0000 (UTC)
From: bughunting@xs4all.nl
Reply-To: bughunting@xs4all.nl
To: gnats-bugs@NetBSD.org
Subject: Incorrect flag order in mbrlabel(8) manpage
X-Send-Pr-Version: www-1.0

>Number:         43119
>Category:       bin
>Synopsis:       Incorrect flag order in mbrlabel(8) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 04 19:50:00 +0000 2010
>Closed-Date:    Mon Apr 05 18:36:21 +0000 2010
>Last-Modified:  Mon Apr 05 19:17:57 +0000 2010
>Originator:     Bug Hunting
>Release:        5.99.25
>Organization:
>Environment:
>Description:
The order of flags in the mbrlabel(8) manpage is incorrect, as they are not in
alphanumerical order.

(Background: both the current order and wording of the `-r' and `-w' flags were
committed in revision 1.13 as suggested in PR bin/13503; i don't believe
reversing the order of the two, as has happened then in comparison to
revision 1.12, was done on purpose with the ease of reading in mind.

The `-s' flag was added in revision 1.15, probably simply being put after `-r'.)
>How-To-Repeat:
"man 8 mbrlabel".
>Fix:
$ cd /usr/src/sbin/mbrlabel/; cvs diff -u mbrlabel.8
Index: mbrlabel.8
===================================================================
RCS file: /cvsroot/src/sbin/mbrlabel/mbrlabel.8,v
retrieving revision 1.16
diff -u -r1.16 mbrlabel.8
--- mbrlabel.8  12 Jan 2006 20:37:23 -0000      1.16
+++ mbrlabel.8  4 Apr 2010 19:48:17 -0000
@@ -29,7 +29,7 @@
 .\"
 .\"    $NetBSD: mbrlabel.8,v 1.16 2006/01/12 20:37:23 wiz Exp $
 .\"
-.Dd December 27, 2005
+.Dd April 4, 2010
 .Dt MBRLABEL 8
 .Os
 .Sh NAME
@@ -86,8 +86,6 @@
 Force an update, even if there has been no change.
 .It Fl q
 Performs operations in a quiet fashion.
-.It Fl w
-Update the in-core label if it has been changed.
 .It Fl r
 In conjunction with
 .Fl w ,
@@ -98,6 +96,8 @@
 Useful if the disk has remapping drivers on it and the MBR is located
 in a non-standard place.
 Defaults to 0.
+.It Fl w
+Update the in-core label if it has been changed.
 .El
 .Sh SEE ALSO
 .Xr disklabel 8 ,

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 05 Apr 2010 18:36:21 +0000
State-Changed-Why:
Fixed, thanks!


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43119 CVS commit: src/sbin/mbrlabel
Date: Mon, 5 Apr 2010 18:08:41 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Mon Apr  5 18:08:41 UTC 2010

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

 Log Message:
 Sort option descriptions, per PR 43119 by Bug Hunting.
 Refer to -r from -w.
 Bump date.


 To generate a diff of this commit:
 cvs rdiff -u -r1.16 -r1.17 src/sbin/mbrlabel/mbrlabel.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.