Subject: misc/26064: missing options in the usage of mount_lfs(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/26/2004 14:26:28
>Number: 26064
>Category: misc
>Synopsis: missing options in the usage of mount_lfs(8)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 26 05:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #33: Fri Jun 25 02:10:31 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-b and -N are missing in the usage of mount_lfs(8).
>How-To-Repeat:
mount_lfs
>Fix:
Index: mount_lfs.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/mount_lfs/mount_lfs.c,v
retrieving revision 1.18
diff -u -r1.18 mount_lfs.c
--- mount_lfs.c 7 Aug 2003 10:04:28 -0000 1.18
+++ mount_lfs.c 26 Jun 2004 05:09:33 -0000
@@ -272,6 +272,7 @@
usage()
{
(void)fprintf(stderr,
- "usage: mount_lfs [-dns] [-o options] special node\n");
+ "usage: %s [-bdns] [-N nsegs] [-o options] special node\n",
+ getprogname());
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: