Commit 15d396b8 authored by Hirofumi Ogawa's avatar Hirofumi Ogawa Committed by Linus Torvalds

[PATCH] removes posix option of fat (3/5)

This removes the posix option of vfat. The current posix options works
only as an alias of name_check=s.
parent 4aee9bf7
...@@ -31,10 +31,6 @@ uni_xlate=<bool> -- Translate unhandled Unicode characters to special ...@@ -31,10 +31,6 @@ uni_xlate=<bool> -- Translate unhandled Unicode characters to special
illegal on the vfat filesystem. The escape sequence illegal on the vfat filesystem. The escape sequence
that gets used is ':' and the four digits of hexadecimal that gets used is ':' and the four digits of hexadecimal
unicode. unicode.
posix=<bool> -- Allow names of same letters, different case such as
'LongFileName' and 'longfilename' to coexist. This has some
problems currently because 8.3 conflicts are not handled
correctly for POSIX filesystem compliance.
nonumtail=<bool> -- When creating 8.3 aliases, normally the alias will nonumtail=<bool> -- When creating 8.3 aliases, normally the alias will
end in '~1' or tilde followed by some number. If this end in '~1' or tilde followed by some number. If this
option is set, then if the filename is option is set, then if the filename is
...@@ -66,10 +62,6 @@ TODO ...@@ -66,10 +62,6 @@ TODO
a get next directory entry approach. The only thing left that uses a get next directory entry approach. The only thing left that uses
raw scanning is the directory renaming code. raw scanning is the directory renaming code.
* Fix the POSIX filesystem support to work in 8.3 space. This involves
renaming aliases if a conflict occurs between a new filename and
an old alias. This is quite a mess.
POSSIBLE PROBLEMS POSSIBLE PROBLEMS
---------------------------------------------------------------------- ----------------------------------------------------------------------
......
...@@ -236,7 +236,7 @@ static int parse_options(char *options, int is_vfat, int *debug, ...@@ -236,7 +236,7 @@ static int parse_options(char *options, int is_vfat, int *debug,
opts->name_check = 'n'; opts->name_check = 'n';
opts->conversion = 'b'; opts->conversion = 'b';
opts->quiet = opts->showexec = opts->sys_immutable = opts->dotsOK = 0; opts->quiet = opts->showexec = opts->sys_immutable = opts->dotsOK = 0;
opts->utf8 = opts->unicode_xlate = opts->posixfs = 0; opts->utf8 = opts->unicode_xlate = 0;
opts->numtail = 1; opts->numtail = 1;
opts->nocase = 0; opts->nocase = 0;
*debug = 0; *debug = 0;
...@@ -383,8 +383,8 @@ static int parse_options(char *options, int is_vfat, int *debug, ...@@ -383,8 +383,8 @@ static int parse_options(char *options, int is_vfat, int *debug,
if (ret) opts->unicode_xlate = val; if (ret) opts->unicode_xlate = val;
} }
else if (is_vfat && !strcmp(this_char,"posix")) { else if (is_vfat && !strcmp(this_char,"posix")) {
ret = simple_getbool(value, &val); printk("FAT: posix option is obsolete, "
if (ret) opts->posixfs = val; "not supported now\n");
} }
else if (is_vfat && !strcmp(this_char,"nonumtail")) { else if (is_vfat && !strcmp(this_char,"nonumtail")) {
ret = simple_getbool(value, &val); ret = simple_getbool(value, &val);
...@@ -417,8 +417,6 @@ static int parse_options(char *options, int is_vfat, int *debug, ...@@ -417,8 +417,6 @@ static int parse_options(char *options, int is_vfat, int *debug,
break; break;
} }
out: out:
if (opts->posixfs)
opts->name_check = 's';
if (opts->unicode_xlate) if (opts->unicode_xlate)
opts->utf8 = 0; opts->utf8 = 0;
......
...@@ -22,7 +22,6 @@ struct fat_mount_options { ...@@ -22,7 +22,6 @@ struct fat_mount_options {
isvfat:1, /* 0=no vfat long filename support, 1=vfat support */ isvfat:1, /* 0=no vfat long filename support, 1=vfat support */
utf8:1, /* Use of UTF8 character set (Default) */ utf8:1, /* Use of UTF8 character set (Default) */
unicode_xlate:1, /* create escape sequences for unhandled Unicode */ unicode_xlate:1, /* create escape sequences for unhandled Unicode */
posixfs:1, /* Allow names like makefile and Makefile to coexist */
numtail:1, /* Does first alias have a numeric '~1' type tail? */ numtail:1, /* Does first alias have a numeric '~1' type tail? */
atari:1, /* Use Atari GEMDOS variation of MS-DOS fs */ atari:1, /* Use Atari GEMDOS variation of MS-DOS fs */
nocase:1; /* Does this need case conversion? 0=need case conversion*/ nocase:1; /* Does this need case conversion? 0=need case conversion*/
......
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