Subject: bin/5443: [dM] eject(1) manpage buglet
To: None <gnats-bugs@gnats.netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 05/11/1998 13:49:38
>Number:         5443
>Category:       bin
>Synopsis:       [dM] eject(1) manpage buglet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 11 10:50:00 1998
>Last-Modified:
>Originator:     der Mouse
>Organization:
	Dis-
>Release:        1.3E
>Environment:
	Any using usr.bin/eject/eject.1 1.3:
	.\"     $NetBSD: eject.1,v 1.3 1997/10/18 13:38:09 lukem Exp $
>Description:
	The eject(1) manpage's list of arguments to the -t option is
	incomplete, and it does not make it clear that -t is
	*necessary* in order to eject a device for which no knowledge
	is built in.
>How-To-Repeat:
	Try to eject a zip disk.  Wonder why it's babbling about an
	"impossible" devtype.  Read the manpage, fail to be
	enlightened.  UTSL, realize what's happening, and note that the
	types[] array includes two items not listed in the manpage.
>Fix:
	Herewith a patch for eject.1:

--- OLD/usr.bin/eject/eject.1	Thu Jan  1 00:00:00 1970
+++ NEW/usr.bin/eject/eject.1	Thu Jan  1 00:00:00 1970
@@ -66,10 +66,14 @@
 List the built-in nicknames on standard output.
 .It Fl t Ar device type
 Specify the device type. The argument must be one of
-.Sy floppy , Sy cdrom
+.Sy diskette ,
+.Sy floppy ,
+.Sy cdrom ,
+.Sy disk ,
 or
 .Sy tape .
-Might be used for devices for which no built-in knowledge is available.
+This option is necessary when ejecting a device for which no built-in
+knowledge is available.
 .It Fl v
 Display some of the actions taken on standard output.
 .El

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
>Audit-Trail:
>Unformatted: