1.\" $NetBSD: mount_ados.8,v 1.19 2007/07/30 05:00:55 rumble 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 . 58Both 59.Ar special 60and 61.Ar node 62are converted to absolute paths before use. 63This command is normally executed by 64.Xr mount 8 65at boot time, but can be used by any user to mount an 66AmigaDOS file system on any directory that they own (provided, 67of course, that they have appropriate access to the device that 68contains the file system). 69.Pp 70The options are as follows: 71.Bl -tag -width Ds 72.It Fl o Ar options 73Use the specified mount 74.Ar options , 75as described in 76.Xr mount 8 . 77.It Fl u Ar uid 78Set the owner of the files in the file system to 79.Ar uid . 80The default owner is the owner of the directory 81on which the file system is being mounted. 82.It Fl g Ar gid 83Set the group of the files in the file system to 84.Ar gid . 85The default group is the group of the directory 86on which the file system is being mounted. 87.It Fl m Ar mask 88Specify the maximum file permissions for files 89in the file system. 90(For example, a mask of 91.Li 755 92specifies that, by default, the owner should have 93read, write, and execute permissions for files, but 94others should only have read and execute permissions. 95See 96.Xr chmod 1 97for more information about octal file modes.) 98Only the nine low-order bits of 99.Ar mask 100are used. 101The default mask is taken from the 102directory on which the file system is being mounted. 103.El 104.Sh SEE ALSO 105.Xr mount 2 , 106.Xr unmount 2 , 107.Xr fstab 5 , 108.Xr mount 8 109.Sh HISTORY 110The 111.Nm 112utility first appeared in 113.Nx 1.0 . 114.Sh BUGS 115The 116.Sq ados 117filesystem currently supports the Amiga fast file system. 118.Pp 119The 120.Sq ados 121filesystem implementation currently is read-only. 122The 123.Nm 124utility silently retries the mount read-only, as if the 125.Ar ro 126option were specified, when it encounters the 127.Bq Er EROFS 128error. 129