diff options
-rw-r--r-- | sbin/mount_ntfs/mount_ntfs.8 | 21 | ||||
-rw-r--r-- | sbin/mount_ntfs/mount_ntfs.c | 4 |
2 files changed, 12 insertions, 13 deletions
diff --git a/sbin/mount_ntfs/mount_ntfs.8 b/sbin/mount_ntfs/mount_ntfs.8 index 3fbd34988db..2bfd5e296d4 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.6 2005/09/30 20:34:23 jaredy Exp $ +.\" $OpenBSD: mount_ntfs.8,v 1.7 2006/12/15 12:53:59 jmc Exp $ .\" $NetBSD: mount_ntfs.8,v 1.13 2003/02/14 16:21:48 grant Exp $ .\" .\" Copyright (c) 1993,1994 Christopher G. Demetriou @@ -40,11 +40,10 @@ .Nd mount an NTFS file system .Sh SYNOPSIS .Nm mount_ntfs -.Op Fl a -.Op Fl i -.Op Fl u Ar uid +.Op Fl ai .Op Fl g Ar gid .Op Fl m Ar mask +.Op Fl u Ar uid .Pa special .Pa node .Sh DESCRIPTION @@ -75,21 +74,21 @@ The options are as follows: .It Fl a Force behaviour to return MS-DOS 8.3 names also on .Fn readdir . -.It Fl i -Make name lookup case insensitive for all names except POSIX names. -.It Fl u Ar uid -Set the owner of the files in the file system to -.Ar uid . -The default owner is the owner of the directory -on which the file system is being mounted. .It Fl g Ar gid Set the group of the files in the file system to .Ar gid . The default group is the group of the directory on which the file system is being mounted. +.It Fl i +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 u Ar uid +Set the owner of the files in the file system to +.Ar uid . +The default owner is the owner of the directory +on which the file system is being mounted. .El .Sh FEATURES .Ss NTFS file attributes diff --git a/sbin/mount_ntfs/mount_ntfs.c b/sbin/mount_ntfs/mount_ntfs.c index 8cd868ac4cd..4e17130d29f 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.9 2005/04/08 20:09:37 jaredy Exp $ */ +/* $OpenBSD: mount_ntfs.c,v 1.10 2006/12/15 12:53:59 jmc Exp $ */ /* $NetBSD: mount_ntfs.c,v 1.9 2003/05/03 15:37:08 christos Exp $ */ /* @@ -150,6 +150,6 @@ static void usage(void) { fprintf(stderr, - "usage: mount_ntfs [-a] [-i] [-u user] [-g group] [-m mask] bdev dir\n"); + "usage: mount_ntfs [-ai] [-g gid] [-m mask] [-u uid] special node\n"); exit(EX_USAGE); } |