xref: /netbsd/sbin/mount_ados/mount_ados.8 (revision bf9ec67e)
1.\" $NetBSD: mount_ados.8,v 1.14 2001/11/16 11:26:55 wiz Exp $
2.\"
3.\" Copyright (c) 1993, 1994 Christopher G. Demetriou
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"          This product includes software developed for the
17.\"          NetBSD Project.  See http://www.netbsd.org/ for
18.\"          information about NetBSD.
19.\" 4. The name of the author may not be used to endorse or promote products
20.\"    derived from this software without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32.\"
33.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
34.\"
35.Dd April 7, 1994
36.Dt MOUNT_ADOS 8
37.Os
38.Sh NAME
39.Nm mount_ados
40.Nd mount an AmigaDOS file system
41.Sh SYNOPSIS
42.Nm ""
43.Op Fl o Ar options
44.Op Fl u Ar uid
45.Op Fl g Ar gid
46.Op Fl m Ar mask
47.Pa special
48.Pa node
49.Sh DESCRIPTION
50The
51.Nm
52command attaches the AmigaDOS filesystem residing on
53the device
54.Pa special
55to the global filesystem namespace at the location
56indicated by
57.Pa node .
58This command is normally executed by
59.Xr mount 8
60at boot time, but can be used by any user to mount an
61AmigaDOS file system on any directory that they own (provided,
62of course, that they have appropriate access to the device that
63contains the file system).
64.Pp
65The options are as follows:
66.Bl -tag -width Ds
67.It Fl o Ar options
68Use the specified mount
69.Ar options ,
70as described in
71.Xr mount 8 .
72.It Fl u Ar uid
73Set the owner of the files in the file system to
74.Ar uid .
75The default owner is the owner of the directory
76on which the file system is being mounted.
77.It Fl g Ar gid
78Set the group of the files in the file system to
79.Ar gid .
80The default group is the group of the directory
81on which the file system is being mounted.
82.It Fl m Ar mask
83Specify the maximum file permissions for files
84in the file system.
85(For example, a mask of
86.Li 755
87specifies that, by default, the owner should have
88read, write, and execute permissions for files, but
89others should only have read and execute permissions.
90See
91.Xr chmod 1
92for more information about octal file modes.)
93Only the nine low-order bits of
94.Ar mask
95are used.
96The default mask is taken from the
97directory on which the file system is being mounted.
98.El
99.Sh SEE ALSO
100.Xr mount 2 ,
101.Xr unmount 2 ,
102.Xr fstab 5 ,
103.Xr mount 8
104.Sh HISTORY
105The
106.Nm
107utility first appeared in
108.Nx 1.0 .
109.Sh BUGS
110The
111.Sq ados
112filesystem currently supports the Amiga fast file system.
113.Pp
114The
115.Sq ados
116filesystem implementation currently is read-only. The
117.Nm
118utility silently retries the mount read-only, as if the
119.Ar ro
120option was specified, when it encounters the
121.Bq Er EROFS
122error.
123