summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-12-15 12:38:16 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-12-15 12:38:16 +0000
commit8992d0fc35ada56404a7160607a6063ea2ecd6aa (patch)
treedd11d931bf9bf925147780275a15c12cd5670923
parent3359c1d697305e9636773b331784e7ea784afa0e (diff)
sort options; sync usage;
-rw-r--r--sbin/mount_ados/mount_ados.826
-rw-r--r--sbin/mount_ados/mount_ados.c6
2 files changed, 16 insertions, 16 deletions
diff --git a/sbin/mount_ados/mount_ados.8 b/sbin/mount_ados/mount_ados.8
index bf7df82486a..9f8f19e6f08 100644
--- a/sbin/mount_ados/mount_ados.8
+++ b/sbin/mount_ados/mount_ados.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount_ados.8,v 1.11 2003/07/03 08:23:14 jmc Exp $
+.\" $OpenBSD: mount_ados.8,v 1.12 2006/12/15 12:38:15 jmc Exp $
.\" $NetBSD: mount_ados.8,v 1.3 1995/03/18 14:57:09 cgd Exp $
.\"
.\" Copyright (c) 1993,1994 Christopher G. Demetriou
@@ -37,10 +37,10 @@
.Nd mount an AmigaDOS file system
.Sh SYNOPSIS
.Nm mount_ados
-.Op Fl o Ar options
-.Op Fl u Ar uid
.Op Fl g Ar gid
.Op Fl m Ar mask
+.Op Fl o Ar options
+.Op Fl u Ar uid
.Ar special
.Ar node
.Sh DESCRIPTION
@@ -74,16 +74,6 @@ contains the file system).
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl o Ar options
-Use the specified mount
-.Ar options ,
-as described in
-.Xr mount 8 .
-.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 .
@@ -105,6 +95,16 @@ Only the nine low-order bits of
are used.
The default mask is taken from the
directory on which the file system is being mounted.
+.It Fl o Ar options
+Use the specified mount
+.Ar options ,
+as described in
+.Xr mount 8 .
+.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 SEE ALSO
.Xr mount 2 ,
diff --git a/sbin/mount_ados/mount_ados.c b/sbin/mount_ados/mount_ados.c
index 0cc1178e7c3..a69608af9a5 100644
--- a/sbin/mount_ados/mount_ados.c
+++ b/sbin/mount_ados/mount_ados.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_ados.c,v 1.13 2005/04/08 20:09:36 jaredy Exp $ */
+/* $OpenBSD: mount_ados.c,v 1.14 2006/12/15 12:38:15 jmc Exp $ */
/* $NetBSD: mount_ados.c,v 1.5 1996/04/13 01:30:59 jtc Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: mount_ados.c,v 1.13 2005/04/08 20:09:36 jaredy Exp $";
+static char rcsid[] = "$OpenBSD: mount_ados.c,v 1.14 2006/12/15 12:38:15 jmc Exp $";
#endif /* not lint */
#include <sys/cdefs.h>
@@ -189,6 +189,6 @@ usage(void)
{
fprintf(stderr,
- "usage: mount_ados [-o options] [-u user] [-g group] [-m mask] bdev dir\n");
+ "usage: mount_ados [-g gid] [-m mask] [-o options] [-u uid] special node\n");
exit(1);
}