1 .\" $NetBSD: mount_msdos.8,v 1.13 1998/02/06 05:57:00 perry Exp $
3 .\" Copyright (c) 1993,1994 Christopher G. Demetriou
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
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 acknowledgment:
16 .\" This product includes software developed by Christopher G. Demetriou.
17 .\" 3. The name of the author may not be used to endorse or promote products
18 .\" derived from this software without specific prior written permission
20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 .\" $FreeBSD: src/sbin/mount_msdos/mount_msdos.8,v 1.19.2.1 2000/12/08 14:03:59 ru Exp $
32 .\" $DragonFly: src/sbin/mount_msdos/mount_msdos.8,v 1.3 2008/04/29 09:33:41 swildner Exp $
34 .Dd September 12, 2009
39 .Nd mount an MS-DOS file system
57 command attaches the MS-DOS filesystem residing on
60 to the global filesystem namespace at the location
63 This command is normally executed by
65 at boot time, but can be used by any user to mount an
66 MS-DOS file system on any directory that they own (provided,
67 of course, that they have appropriate access to the device that
68 contains the file system).
70 The options are as follows:
73 Use the specified mount
77 or one of the MS-DOS filesystem-specific options
82 all of which can be used to affect Windows name translation in the
83 underlying filesystem.
85 Set the owner of the files in the file system to
87 The default owner is the owner of the directory
88 on which the file system is being mounted.
90 Set the group of the files in the file system to
92 The default group is the group of the directory
93 on which the file system is being mounted.
95 Specify the maximum file permissions for files
101 specifies that, by default, the owner should have
102 read, write, and execute permissions for files, but
103 others should only have read and execute permissions.
106 for more information about octal file modes.)
107 Only the nine low-order bits of
113 directory on which the file system is being mounted.
116 ignore and not generate Win'95 long filenames.
118 Force listing and generation of
119 Win'95 long filenames
120 and separate creation/modification/access dates.
128 searches the root directory of the filesystem to
129 be mounted for any existing Win'95 long filenames.
130 If no such entries are found, but short DOS filenames are found,
137 Ignore the special Win'95 directory entries even
138 if deleting or renaming a file.
142 .\"This option causes the filesystem to be interpreted as an Atari-Gemdos
143 .\"filesystem. The differences to the MS-DOS filesystem are minimal and
144 .\"limited to the boot block. This option enforces
147 Specify locale name used for internal uppercase and lowercase conversions
148 for DOS and Win'95 names.
149 By default ISO 8859-1 assumed as local character set.
150 .It Fl D Ar DOS_codepage
151 Specify the MS-DOS code page (aka IBM/OEM code page) name used for
152 file name conversions for DOS names.
162 flag could result in damaged filesystems,
163 albeit the damage is in part taken care of by
164 procedures similar to the ones used in Win'95.
167 and earlier versions could not handle cluster sizes larger than 16K.
168 Just mounting an MS-DOS file system could cause corruption to any
170 Cluster sizes larger than 16K are unavoidable for file system sizes
171 larger than 1G, and also occur when filesystems larger than 1G are
172 shrunk to smaller than 1G using FIPS.
176 utility first appeared in
182 and was abandoned in favor
183 of the more aptly-named