Subject: misc/25915: missing options in the usage of mount_filecore(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/13/2004 18:43:03
>Number: 25915
>Category: misc
>Synopsis: missing options in the usage of mount_filecore(8)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 13 09:44: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) #23: Tue Jun 8 02:19:00 JST 2004 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
-a, -n, -R, -f, -u and -g are missing in the usage of mount_filecore(8).
# mount_filecore
usage: mount_filecore [-o options] special node
>How-To-Repeat:
mount_filecore
>Fix:
Sync with manpage.
Index: mount_filecore.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/mount_filecore/mount_filecore.c,v
retrieving revision 1.8
diff -u -r1.8 mount_filecore.c
--- mount_filecore.c 7 Aug 2003 10:04:28 -0000 1.8
+++ mount_filecore.c 13 Jun 2004 09:20:54 -0000
@@ -195,6 +195,7 @@
usage()
{
(void)fprintf(stderr,
- "usage: mount_filecore [-o options] special node\n");
+ "usage: %s [-o options] [-a] [-n] [-R] [-f] [-u uid] [-g gid] "
+ "special node\n", getprogname());
exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted: