Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/f/fs-dos.so.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/f/fs-dos.so.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/f/fs-dos.so.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/f/fs-dos.so.html on line 8

fs-dos.so

DOS filesystem (QNX Neutrino)

Syntax:

driver ... dos dos_options ... &

Runs on:

Neutrino

Options:

Where driver is one of the devb-* drivers, and dos_options is one or more of the following, separated by commas:

case
Use case-sensitive filename matching (forces long filenames). DOS/FAT is normally a case-preserving, case-insensitive filesystem.
codepage=mapping
Install a DOS codepage for mapping of locale 8.3 filenames. These names are used only when the corresponding (Unicode) long filename is absent (created pre-Win95) or has been disabled (using lfn=ignore) or for the volume label; specification of the appropriate locale will also allow portability of filenames created by fs-dos.so to older versions of DOS. Use the “chcp” native command on a DOS system to determine its active codepage. Supported values for mapping are: cp437, cp850, cp852, cp866, cp1250, cp1251, and cp1252.
compat=mode
Set DOS/Windows compatibility mode. Certain versions of DOS implement minor individual peculiarities of the FAT on-disk format, although this is unlikely to affect any normal or typical filesystem client usage. Supported values for mode are: dos, os2, win95, win98, win2k, and auto (the default).
exe=exec_mode
Specify how to handle the POSIX x-bit for executables; exec_mode can be one of:
all
Make all files executable.
none
Make no files executable.
system
Use the DOS “system” attribute to indicate which files are executable.
auto
Make files ending in .exe, .bat, and .com executable.

The default is auto.

fat=lazy|nonrmv|always
Set pre-reading of the FAT. Scanning the FAT is required to return the count of free blocks. It also allows for improved write() performance by creating an in-memory summary of where free blocks might be located within the filesystem.

The value must be one of the following:

fatchk
This option causes fs-dos to check the consistency of the master FAT with any backup copies. If they don't match, then the DOS filesystem isn't mounted. The default is not to perform this check, and just assume the master FAT is correct.
fsi=mode
Set the handling of the FAT32/FSI record (this contains a count of free clusters plus a hint at the next free cluster). The mode is one of:

The default is lazy.

gid=group
Set the owning group of all files to group. The default is 0 (root).
hidden=hidden_mode
Specify what to do with files that have the DOS “hidden” attribute; hidden_mode can be one of:
ignore
The hidden files are ignored; the files don't appear in the filesystem.
show
The hidden files appear in the filesystem as normal files.
dot
The hidden files appear in the filesystem with a dot (.) prefixed to their names. Files created with a leading dot have the DOS “hidden” attribute set.

The default is show.

lfn=lfn_mode
Specify what to do with long filenames:
ignore
Ignore long filenames. Only 8.3 filenames are displayed or created.
show
Show long filenames. Long filenames are created if the filename is longer than 8.3 or if mixed case is used.
always
Always create both short and long filenames.

The default is show.

lnk=lnk_mode
Set the handling of Windows shortcut files. The options are:
ignore
Place no special meaning on these files (the default).
all
Turn all shortcut files into symbolic links pointing to their shortcut targets.
local
Turn into symbolic links only those shortcut files that point to targets within this filesystem.
notrunc
Enforce short (8.3) filenames. This option is valid only with lfn=ignore. By default, filename components beyond the 8.3 limit are silently ignored. For example, LONGFILENAME.TXT becomes LONGFILE.TXT.
posix=posix_mode
Set POSIX check and emulation modes; posix_mode can be one of the following:
none
Disable POSIX checks and emulation.
  • There are no . and .. entries in the root directory.
  • The link count of every directory is always 2.
emulate
Provide the following features beyond those provided by FAT:
  • Create the . and .. entries in the root directory.
  • Calculate directory size.
  • Calculate the number of links per directory, based on the subdirectories.
  • Ignore modification attempts that cannot be stored on disk or recreated by emulation, but don't raise errors.
strict
Set stricter POSIX checks. Provide the same features listed under emulate mode, but flag as errors modification attempts that cannot be stored on disk or recreated by emulation. E.g. an error of EINVAL is flagged for attempts to do any of the following:
  • Set the userid or group ID to something other than the default.
  • Remove an r permission.
  • Set an s permission.
  • Set a file modification or access time to pre-1980.

The default is emulate.

sfn=mode
Set the display of 8.3 filenames; mode is one of:

The default is lower.

uid=user
Set the owner of all files to user. The default is 0 (root).
umask=mask
Apply this permission mask to all files. The default is 0 (all permissions).
vollabel=vollabel_mode
Specify what to do with the DOS volume name; vollabel_mode can be one of:
ignore
The volume label isn't displayed.
show
The volume label is displayed as a name-special file.
equals
The volume label is displayed as a name-special file with an = prefixed to its name.

The default is equals.

In addition, you can specify any of the filesystem options described for io-blk.so.

Description:

The fs-dos.so shared object lets you mount DOS filesystems (FAT12, FAT16, and FAT32) under QNX Neutrino.

The fs-dos.so shared object is automatically loaded by the devb-* drivers when mounting a DOS FAT filesystem.


Note: This filesystem uses UTF-8 encoding for presentation of its filenames; attempts to specify a filename not using UTF-8 encoding will fail (with an error of EILSEQ).

See also:

chkdosfs, devb-*, fs-cd.so, fs-ext2.so, fs-mac.so, fs-nt.so, fs-qnx4.so, fs-qnx6.so, fs-udf.so, io-blk.so, mkdosfs, mount, umount

Filesystems chapter of System Architecture

QNX Neutrino User's Guide:


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/f/fs-dos.so.html on line 474

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/f/fs-dos.so.html on line 474