MOUNT_MSDOS(8) | System Manager's Manual | MOUNT_MSDOS(8) |
mount_msdos
—
mount_msdos |
[-9GlsU ] [-g
gid] [-M
mask] [-m
mask] [-o
options] [-t
gmtoff] [-u
uid] special
node |
mount_msdos
command attaches the MS-DOS file system
residing on the device special to the global file
system namespace at the location indicated by node.
Both special and node are
converted to absolute paths before use. This command is normally executed by
mount(8) at boot time, but can be
used by any user to mount an MS-DOS file system on any directory that they own
(provided, of course, that they have appropriate access to the device that
contains the file system).
Support for FAT16 and VFAT32 as well as long file names is available.
The options are as follows:
-9
-s
.-G
-s
.-g
gid-l
If neither -s
nor
-l
are given,
mount_msdos
searches the root directory of the
file system to be mounted for any existing Win'95 long filenames. If the
file system is not empty and no such entries are found,
-s
is the default. Otherwise
-l
is assumed.
-U
-U
flag interprets UNIX filenames as
UTF-8 and generates correctly encoded long filenames. This forces
-l
.-M
mask-m
is used if it is supplied and
-M
is omitted.-m
mask755
specifies that, by default,
the owner should have read, write, and execute permissions for files, but
others should only have read and execute permissions. See
chmod(1) for more information
about octal file modes.) Only the nine low-order bits of
mask are used. The value of
-M
is used if it is supplied and
-m
is omitted. The default mask is taken from the
directory on which the file system is being mounted.-o
options-s
-l
.-t
gmtoff-u
uidmount_msdos
utility named
mount_pcfs
appeared in NetBSD
0.8. It was abandoned in favour of the more aptly-named
mount_msdos
in NetBSD 0.9 and
rewritten entirely by NetBSD 1.0.
mount_pcfs
was written by
Paul Popelka
<paulp@uts.amdahl.com>.
It was rewritten by Christopher G. Demetriou
<cgd@NetBSD.org>.
The use of the -9
flag could result in
damaged file systems, albeit the damage is in part taken care of by
procedures similar to the ones used in Win'95.
October 11, 2016 | NetBSD 9.4 |