Re: [PATCH] document additional vfat mount options

From: Grant Coady
Date: Fri Aug 22 2008 - 22:33:58 EST


On Fri, 22 Aug 2008 20:54:19 -0400, Bart Trojanowski <bart@xxxxxxxxx> wrote:

>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@xxxxxxxxx>
>Cc: trivial@xxxxxxxxxx
>Cc: hirofumi@xxxxxxxxxxxxxxxxxx
>---
> 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..4e26744 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 thsi
^^^^
>+ 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/