Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754100AbYHWDOs (ORCPT ); Fri, 22 Aug 2008 23:14:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752012AbYHWDOl (ORCPT ); Fri, 22 Aug 2008 23:14:41 -0400 Received: from tau.jukie.net ([216.239.93.128]:44911 "EHLO tau.jukie.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751911AbYHWDOk (ORCPT ); Fri, 22 Aug 2008 23:14:40 -0400 From: Bart Trojanowski To: linux-kernel@vger.kernel.org Cc: Bart Trojanowski , trivial@kernel.org, hirofumi@mail.parknet.co.jp Subject: [PATCH] document additional vfat mount options Date: Fri, 22 Aug 2008 23:14:38 -0400 Message-Id: <1219461278-26776-1-git-send-email-bart@jukie.net> X-Mailer: git-send-email 1.5.6.1.109.ga974cd.dirty In-Reply-To: <20080823031229.GA28029@jukie.net> References: <20080823031229.GA28029@jukie.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3861 Lines: 85 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 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= -- 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. + : 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/