ransmeta.comRe: Msdos name alias patch for 2.1.48

Colin Plumb (colin@nyx.net)
Fri, 8 Aug 97 05:36:26 MDT


Linus asked
> What sort of case-insensitivity do various filesystems currently support?
> Are we talking A-Z only, Latin1, or what? I guess we don't really need to
> worry about what could theoretically be the worst case, but what MS-DOS,
> NT, OS/2 etc actually do right now..

The Amiga FFS is case-preserving but case-insensitive.
The original version had a bug in that it only case-folded 7-bit ASCII.
A fixed version is available (an option set in the superblock) that
case-folds Latin-1.

This is actually critical since it stores directory entries in a
hash table, so you have to have the right canonical form of a filename
to compute the right hash value to find the file.

So it goes both ways, depending. This is not a very good thing for
a single O_NOCASE flag.

Sorry.

Would it be possible to do something involving frequent calls to
the revalidate function to cope with out-of-date duplicates?

-- 
	-Colin