Subject: misc/32118: disklabel(8): wrong output, interprets flag as command
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <mjl@emsi.priv.at>
List: netbsd-bugs
Date: 11/19/2005 14:21:00
Note: There was a bad value `' for the field `Confidential'.
It was set to the default value of `yes'.
>Number: 32118
>Category: misc
>Synopsis: disklabel(8) shows wrong usage b/c it interprets flag
>Confidential: yes
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 19 14:21:00 +0000 2005
>Originator: Martin J. Laubach
>Release: NetBSD 3.0_RC1
>Organization:
>Environment:
System: NetBSD asparagus.emsi.priv.at 3.0_RC1 NetBSD 3.0_RC1 (ASPARAGUS.l) #0: Thu Nov 17 22:54:18 UTC 2005 root@asparagus.emsi.priv.at:/sys30/arch/i386/compile/ASPARAGUS.l i386
Architecture: i386
Machine: i386
>Description:
man disklabel displays the following:
| SYNOPSIS
| disklabel [-CFrt] disk
| disklabel -w [-] [-f disktab] disk disktype [packid]
| ^^^
| disklabel -e [-CFIr] disk
| disklabel -i [-FIr] disk
| disklabel -R [-] disk protofile
| ^^^
This is caused by the flags argument being interpreted by roff, the
lines in question read:
| .Op Fl Fr
and obviously "Fr" is interpreted to be something by our macros.
>How-To-Repeat:
man disklabel
>Fix:
Somehow escape the "Fr" or just change the ordering (rF).