The
mount_msdos command attaches the MS-DOS filesystem residing on the device
special to the global filesystem 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
Ignore the special Win'95 directory entries even if deleting or renaming a file. This forces -s.
-G
This option causes the filesystem to be interpreted as an Atari-Gemdos filesystem. The differences to the MSDOS filesystem are minimal and limited to the boot block. This option enforces -s.
-g gid
Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is being mounted.
-l
Force listing and generation of Win'95 long filenames and separate creation/modification/access dates.
If neither
-s nor
-l are given,
mount_msdos searches the root directory of the filesystem to be mounted for any existing Win'95 long filenames. If the filesystem is not empty and no such entries are found,
-s is the default. Otherwise
-l is assumed.
-M mask
Specify the maximum file permissions for directories in the file system. The value of -m is used if it is supplied and -M is omitted.
-m mask
Specify the maximum file permissions for files in the file system. (For example, a mask of
755 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
Use the specified mount
options, as described in
mount(8).
-s
Force behaviour to ignore and not generate Win'95 long filenames. See also -l.
-t gmtoff
Set the time zone offset (in seconds) from UTC to gmtoff, with positive values indicating east of the Prime Meridian. If not set, the user's current time zone will be used.
-u uid
Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is being mounted.