summaryrefslogtreecommitdiff
path: root/sbin/mount_ntfs
diff options
context:
space:
mode:
authorAlexander von Gernler <grunk@cvs.openbsd.org>2007-04-14 17:07:29 +0000
committerAlexander von Gernler <grunk@cvs.openbsd.org>2007-04-14 17:07:29 +0000
commit02418472e6125371e69e1008eb302be3c7ba1065 (patch)
treeed27446d0d42ba226b83ec05f5a659e27d6396bf /sbin/mount_ntfs
parent74db31e87b70de03babb6ee563803521163e5252 (diff)
documentation of -o option was missing both in man page and usage()
ok jmc@
Diffstat (limited to 'sbin/mount_ntfs')
-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);
}