Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753815AbYHWD1T (ORCPT ); Fri, 22 Aug 2008 23:27:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752134AbYHWD1H (ORCPT ); Fri, 22 Aug 2008 23:27:07 -0400 Received: from mail.parknet.ad.jp ([210.171.162.6]:50667 "EHLO mail.officemail.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752012AbYHWD1G (ORCPT ); Fri, 22 Aug 2008 23:27:06 -0400 From: OGAWA Hirofumi To: Bart Trojanowski Cc: linux-kernel@vger.kernel.org, trivial@kernel.org Subject: Re: [PATCH] document additional vfat mount options References: <20080823031229.GA28029@jukie.net> <1219461278-26776-1-git-send-email-bart@jukie.net> Date: Sat, 23 Aug 2008 12:27:03 +0900 In-Reply-To: <1219461278-26776-1-git-send-email-bart@jukie.net> (Bart Trojanowski's message of "Fri, 22 Aug 2008 23:14:38 -0400") Message-ID: <87tzdcfm2g.fsf@devron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.10/RELEASE, bases: 24052007 #308098, status: clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3958 Lines: 92 Bart Trojanowski writes: > +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. > + Thanks. Fixed. Current patch is the following. -- OGAWA Hirofumi From: Bart Trojanowski 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: Bart Trojanowski Signed-off-by: OGAWA Hirofumi --- Documentation/filesystems/vfat.txt | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff -puN Documentation/filesystems/vfat.txt~fat-doc-fixes Documentation/filesystems/vfat.txt --- linux-2.6/Documentation/filesystems/vfat.txt~fat-doc-fixes 2008-08-23 12:15:06.000000000 +0900 +++ linux-2.6-hirofumi/Documentation/filesystems/vfat.txt 2008-08-23 12:23:15.000000000 +0900 @@ -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 numbe 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,8 @@ check=s|r|n -- Case sensitivity checki r: relaxed, 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 display/create setting. lower: convert to lowercase for display, @@ -99,11 +109,23 @@ 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, 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. + : 0,1,yes,no,true,false TODO _ -- 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/