| manpages.info - online man pages | ![]() |
|||
|
mount_msdos (8) Table of Contents
Namemount_msdos - mount an MS-DOS file system
Synopsismount_msdos [-o options] [-u uid] [-g gid] [-m mask] [-s] [-l] [-9] [-L locale] [-W table] special node
DescriptionThe mount_msdos command attaches the MS-DOS filesystem residing on the device special to the global filesystem namespace at the location indicated by node. 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).
The options are as follows:
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 no such entries are found, but short DOS filenames are found, -s is the default. Otherwise -l is assumed.
1. Local character set to Unicode conversion table (upper half) for Win'95 long names, 128 Unicode codes separated by 8 per row. If some code not present in Unicode, use 0x003F code ('?') as replacement.
2. DOS to local character set conversion table (upper half) for DOS names, 128 character codes separated by 8 per row. Code 0x3F ('?') used for impossible translations.
3. Local character set to DOS conversion table (upper half) for DOS names, 128 character codes separated by 8 per row. Some codes have special meaning:
By default ISO 8859-1 assumed as local character set. If file path isn't absolute, /usr/libdata/msdosfs/ prefix prepended.
Files/usr/libdata/msdosfs default place for character sets conversion tables
See Alsomount(2) , unmount(2) , fstab(5) , mount(8)
CaveatsThe use of the -9 flag could result in damaged filesystems, albeit the damage is in part taken care of by procedures similar to the ones used in Win'95.
FreeBSD 2.1 and earlier versions could not handle cluster sizes larger than 16K. Just mounting an MS-DOS file system could cause corruption to any mounted file system. Cluster sizes larger than 16K are unavoidable for file system sizes larger than 1G, and also occur when filesystems larger than 1G are shrunk to smaller than 1G using FIPS.
HistoryThe mount_msdos utility first appeared in FreeBSD 2.0. Its predecessor, the mount_pcfs utility appeared in FreeBSD 1.0, and was abandoned in favor of the more aptly-named mount_msdos.
|