2 .\" Copyright (c) 1993,1994 Christopher G. Demetriou
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 3. All advertising materials mentioning features or use of this software
14 .\" must display the following acknowledgement:
15 .\" This product includes software developed by Christopher G. Demetriou.
16 .\" 3. The name of the author may not be used to endorse or promote products
17 .\" derived from this software without specific prior written permission
19 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 .Nd mount an MS-DOS file system
48 command attaches the MS-DOS filesystem residing on
51 to the global filesystem namespace at the location
54 This command is normally executed by
56 at boot time, but can be used by any user to mount an
57 MS-DOS file system on any directory that they own (provided,
58 of course, that they have appropriate access to the device that
59 contains the file system).
61 The options are as follows:
64 Set the owner of the files in the file system to
66 The default owner is the owner of the directory
67 on which the file system is being mounted.
69 Set the group of the files in the file system to
71 The default group is the group of the directory
72 on which the file system is being mounted.
74 Specify the maximum file permissions for files
76 (For example, a mask of
78 specifies that, by default, the owner should have
79 read, write, and execute permissions for files, but
80 others should only have read and execute permissions.
83 for more information about octal file modes.)
84 Only the nine low-order bits of
87 The default mask is taken from the
88 directory on which the file system is being mounted.
97 filesystem is not known to work reliably with filesystems created by versions
98 of MS-DOS later than version 3.3.
100 The limitations on file names imposed by MS-DOS are strange, at best.
101 For instance, they are
102 limited to single-case, 8 character names with 3 character extensions.
104 If you see the warning:
106 mountmsdosfs(): Warning: root directory is not a multiple of the clustersize in length
108 then it is possible that writing to the MS-DOS filesystem would
109 produce corruption on the disk. This is a shortcoming in the code
110 which needs to be addressed.
114 utility first appeared in FreeBSD 2.0.
117 utility appeared in FreeBSD 1, and was abandoned in favor
118 of the more aptly-named