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.
38 .Nd mount an MS-DOS file system
42 .Op Fl D Ar DOS_codepage
54 utility attaches the MS-DOS file system residing on
57 to the global file system namespace at the location
60 This command is normally executed by
62 at boot time, but can be used by any user to mount an
63 MS-DOS file system on any directory that they own (provided,
64 of course, that they have appropriate access to the device that
65 contains the file system).
67 The options are as follows:
70 Use the specified mount
74 The following MSDOS file system-specific options are available:
75 .Bl -tag -width indent
77 Support file systems larger than 128 gigabytes at the expense
78 of 32 bytes of kernel memory for each file on disk.
79 This memory will not be reclaimed until the file system has
82 Force Windows 95 long filenames to be visible.
84 Force only the old MS-DOS 8.3 style filenames to be visible.
86 Completely ignore Windows 95 extended file information.
89 Set the owner of the files in the file system to
91 The default owner is the owner of the directory
92 on which the file system is being mounted.
94 Set the group of the files in the file system to
96 The default group is the group of the directory
97 on which the file system is being mounted.
99 Specify the maximum file permissions for files
105 specifies that, by default, the owner should have
106 read, write, and execute permissions for files, but
107 others should only have read and execute permissions.
110 for more information about octal file modes.
111 Only the nine low-order bits of
116 is used if it is supplied and
122 directory on which the file system is being mounted.
124 Specify the maximum file permissions for directories
128 is used if it is supplied and
131 See the previous option's description for details.
134 ignore and not generate Win'95 long filenames.
136 Force listing and generation of
137 Win'95 long filenames
138 and separate creation/modification/access dates.
146 searches the root directory of the file system to
147 be mounted for any existing Win'95 long filenames.
148 If no such entries are found, but short DOS filenames are found,
155 Ignore the special Win'95 directory entries even
156 if deleting or renaming a file.
160 .\"This option causes the file system to be interpreted as an Atari-Gemdos
162 .\"The differences to the MS-DOS file system are minimal and
163 .\"limited to the boot block.
164 .\"This option enforces
167 Specify locale name used for file name conversions
168 for DOS and Win'95 names.
169 By default ISO 8859-1 assumed as local character set.
170 .It Fl D Ar DOS_codepage
171 Specify the MS-DOS code page (aka IBM/OEM code page) name used for
172 file name conversions for DOS names.
175 This option is preserved for backward compatibility purpose only,
176 and will be removed in the future.
177 Please avoid using this option.
180 Specify text file name with conversion table:
181 .Pa iso22dos , iso72dos , koi2dos , koi8u2dos .
184 To mount a Russian MS-DOS file system located in
187 .Dl "mount_msdosfs -L ru_RU.KOI8-R -D CP866 /dev/ad1s1 /mnt"
189 To mount a Japanese MS-DOS file system located in
192 .Dl "mount_msdosfs -L ja_JP.eucJP -D CP932 /dev/ad1s1 /mnt"
200 List of Localized MS Operating Systems:
201 .Pa http://www.microsoft.com/globaldev/reference/oslocversion.mspx .
205 utility first appeared in
211 and was abandoned in favor
212 of the more aptly-named
215 The character code conversion routine was added by
216 .An Ryuichiro Imura Aq imura@ryu16.org
221 flag could result in damaged file systems,
222 albeit the damage is in part taken care of by
223 procedures similar to the ones used in Win'95.