summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrunk <grunk@openbsd.org>2007-04-14 17:07:28 +0000
committergrunk <grunk@openbsd.org>2007-04-14 17:07:28 +0000
commit474a64e704d58ae56ff3e749b9a0038442fcd4bd (patch)
tree4a6a040fb9533b5c66a58b695d83f8acbcb6a1c5
parentFor devices unwilling or unable to report geometry, change the 'fake' (diff)
downloadwireguard-openbsd-474a64e704d58ae56ff3e749b9a0038442fcd4bd.tar.xz
wireguard-openbsd-474a64e704d58ae56ff3e749b9a0038442fcd4bd.zip
documentation of -o option was missing both in man page and usage()
ok jmc@
-rw-r--r--sbin/mount_ntfs/mount_ntfs.810
-rw-r--r--sbin/mount_ntfs/mount_ntfs.c5
2 files changed, 12 insertions, 3 deletions
diff --git a/sbin/mount_ntfs/mount_ntfs.8 b/sbin/mount_ntfs/mount_ntfs.8
index 2bfd5e296d4..6f820b0e198 100644
--- a/sbin/mount_ntfs/mount_ntfs.8
+++ b/sbin/mount_ntfs/mount_ntfs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount_ntfs.8,v 1.7 2006/12/15 12:53:59 jmc Exp $
+.\" $OpenBSD: mount_ntfs.8,v 1.8 2007/04/14 17:07:28 grunk Exp $
.\" $NetBSD: mount_ntfs.8,v 1.13 2003/02/14 16:21:48 grant Exp $
.\"
.\" Copyright (c) 1993,1994 Christopher G. Demetriou
@@ -43,6 +43,7 @@
.Op Fl ai
.Op Fl g Ar gid
.Op Fl m Ar mask
+.Op Fl o Ar options
.Op Fl u Ar uid
.Pa special
.Pa node
@@ -84,6 +85,13 @@ Make name lookup case insensitive for all names except POSIX names.
.It Fl m Ar mask
Specify the maximum file permissions for files
in the file system.
+.It Fl o Ar options
+Options are specified with a
+.Fl o
+flag followed by a comma separated string of options.
+See the
+.Xr mount 8
+man page for possible options and their meanings.
.It Fl u Ar uid
Set the owner of the files in the file system to
.Ar uid .
diff --git a/sbin/mount_ntfs/mount_ntfs.c b/sbin/mount_ntfs/mount_ntfs.c
index c223e187bf6..b5e723cce55 100644
--- a/sbin/mount_ntfs/mount_ntfs.c
+++ b/sbin/mount_ntfs/mount_ntfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_ntfs.c,v 1.11 2007/04/09 20:22:41 pedro Exp $ */
+/* $OpenBSD: mount_ntfs.c,v 1.12 2007/04/14 17:07:28 grunk Exp $ */
/* $NetBSD: mount_ntfs.c,v 1.9 2003/05/03 15:37:08 christos Exp $ */
/*
@@ -167,6 +167,7 @@ static void
usage(void)
{
fprintf(stderr,
- "usage: mount_ntfs [-ai] [-g gid] [-m mask] [-u uid] special node\n");
+ "usage: mount_ntfs [-ai] [-g gid] [-m mask] [-o options] [-u uid]"
+ " special node\n");
exit(EX_USAGE);
}