Commit 8986ab59 authored by Bart Trojanowski's avatar Bart Trojanowski Committed by Linus Torvalds

fat: document additional vfat mount options

While debugging a sync mount regression on vfat I noticed that there were
mount options parsed by the driver that were not documented.

[hirofumi@mail.parknet.co.jp: fix some parts]
Signed-off-by: default avatarBart Trojanowski <bart@jukie.net>
Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c1dfda39
...@@ -8,6 +8,12 @@ if you want to format from within Linux. ...@@ -8,6 +8,12 @@ if you want to format from within Linux.
VFAT MOUNT OPTIONS VFAT MOUNT OPTIONS
---------------------------------------------------------------------- ----------------------------------------------------------------------
uid=### -- Set the owner of all files on this filesystem.
The default is the uid of current process.
gid=### -- Set the group of all files on this filesystem.
The default is the gid of current process.
umask=### -- The permission mask (for files and directories, see umask(1)). umask=### -- The permission mask (for files and directories, see umask(1)).
The default is the umask of current process. The default is the umask of current process.
...@@ -36,7 +42,7 @@ codepage=### -- Sets the codepage number for converting to shortname ...@@ -36,7 +42,7 @@ codepage=### -- Sets the codepage number for converting to shortname
characters on FAT filesystem. characters on FAT filesystem.
By default, FAT_DEFAULT_CODEPAGE setting is used. By default, FAT_DEFAULT_CODEPAGE setting is used.
iocharset=name -- Character set to use for converting between the iocharset=<name> -- Character set to use for converting between the
encoding is used for user visible filename and 16 bit encoding is used for user visible filename and 16 bit
Unicode characters. Long filenames are stored on disk Unicode characters. Long filenames are stored on disk
in Unicode format, but Unix for the most part doesn't in Unicode format, but Unix for the most part doesn't
...@@ -86,6 +92,8 @@ check=s|r|n -- Case sensitivity checking setting. ...@@ -86,6 +92,8 @@ check=s|r|n -- Case sensitivity checking setting.
r: relaxed, case insensitive r: relaxed, case insensitive
n: normal, default setting, currently case insensitive n: normal, default setting, currently case insensitive
nocase -- This was deprecated for vfat. Use shortname=win95 instead.
shortname=lower|win95|winnt|mixed shortname=lower|win95|winnt|mixed
-- Shortname display/create setting. -- Shortname display/create setting.
lower: convert to lowercase for display, lower: convert to lowercase for display,
...@@ -99,11 +107,23 @@ shortname=lower|win95|winnt|mixed ...@@ -99,11 +107,23 @@ shortname=lower|win95|winnt|mixed
tz=UTC -- Interpret timestamps as UTC rather than local time. tz=UTC -- Interpret timestamps as UTC rather than local time.
This option disables the conversion of timestamps This option disables the conversion of timestamps
between local time (as used by Windows on FAT) and UTC between local time (as used by Windows on FAT) and UTC
(which Linux uses internally). This is particuluarly (which Linux uses internally). This is particularly
useful when mounting devices (like digital cameras) useful when mounting devices (like digital cameras)
that are set to UTC in order to avoid the pitfalls of that are set to UTC in order to avoid the pitfalls of
local time. local time.
showexec -- If set, the execute permission bits of the file will be
allowed only if the extension part of the name is .EXE,
.COM, or .BAT. Not set by default.
debug -- Can be set, but unused by the current implementation.
sys_immutable -- If set, ATTR_SYS attribute on FAT is handled as
IMMUTABLE flag on Linux. Not set by default.
flush -- If set, the filesystem will try to flush to disk more
early than normal. Not set by default.
<bool>: 0,1,yes,no,true,false <bool>: 0,1,yes,no,true,false
TODO TODO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment