lkml.org 
[lkml]   [2008]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] document additional vfat mount options
Date
While debugging a sync mount regression on vfat I noticed that there
were mount options parsed by the driver that were not documented.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
Cc: trivial@kernel.org
Cc: hirofumi@mail.parknet.co.jp
---
Documentation/filesystems/vfat.txt | 31 +++++++++++++++++++++++++++++--
1 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/Documentation/filesystems/vfat.txt b/Documentation/filesystems/vfat.txt
index bbac4f1..5ed7918 100644
--- a/Documentation/filesystems/vfat.txt
+++ b/Documentation/filesystems/vfat.txt
@@ -8,6 +8,14 @@ if you want to format from within Linux.

VFAT MOUNT OPTIONS
----------------------------------------------------------------------
+uid=### -- Explicitly set ownership of all files on this
+ filesystem to this user ID number. Default is to use
+ the UID of the mounting process.
+
+gid=### -- Explisitly set ownership of all files on this
+ filesystem to this group ID number. Default is to use
+ the GID of the mounting process.
+
umask=### -- The permission mask (for files and directories, see umask(1)).
The default is the umask of current process.

@@ -36,7 +44,7 @@ codepage=### -- Sets the codepage number for converting to shortname
characters on FAT filesystem.
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
Unicode characters. Long filenames are stored on disk
in Unicode format, but Unix for the most part doesn't
@@ -86,6 +94,10 @@ check=s|r|n -- Case sensitivity checking setting.
r: relaxed, case insensitive
n: normal, default setting, currently case insensitive

+nocase -- If set, files and directories read from device will have
+ their names converted to lowercase. Not set by
+ default.
+
shortname=lower|win95|winnt|mixed
-- Shortname display/create setting.
lower: convert to lowercase for display,
@@ -99,11 +111,26 @@ shortname=lower|win95|winnt|mixed
tz=UTC -- Interpret timestamps as UTC rather than local time.
This option disables the conversion of timestamps
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)
that are set to UTC in order to avoid the pitfalls of
local time.

+showexec -- If set, files that end if .EXE, .COM, or .BAT will have
+ the execute permission bits set. Not set by default,
+ in which case all files show up with the execute bits set.
+
+debug -- Can be set, but unused by the current implementation.
+
+sys_immutable -- If set, all files on this filesystem which have the SYS
+ attribute (DOS bit) set will become IMMUTABLE (inode flag)
+ preventing write operations on these files. Not set by
+ default.
+
+flush -- If set, modified inodes will be flushed to disk on file
+ close system call. This is ideal for USB connected
+ devices. Not set by default.
+
<bool>: 0,1,yes,no,true,false

TODO
--
1.6.0.rc0.43.gb0a469


\
 
 \ /
  Last update: 2008-08-23 05:17    [W:0.052 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site