Re: A patch for FAT & VFAT

A. Wik (aw@mail1.bet1.puv.fi)
Wed, 18 Nov 1998 21:36:13 +0000


Khimenko Victor wrote:
>
> 17-Nov-98 20:16 you wrote:
> >> I've added a mount option - "case" - to the FAT file system. If
> >> set to "asis", file names will be displayed the way NetBSD and the
> >> Win95 DOS-prompt do.
> > <deleted the rest of patch>
>
> > Nice idea, I had some annoyance about it too once.
> > What I would comment that as I know you may not relay that you use
> > ASCII [c += 32] but should use tolower(3). [read manpage, do think of e.g.
> > umlauts].
> > And as I know in VFAT the first letter is shown as uppercase [in flying
> > windozer..]. [but you may type them as you wish..]
>
> ONLY explorer will show first letter as uppercase under Windows 9x and all
> letters small under Windows NT. Far (ftp://ftp.creabel.com/pub/far) and
> Netscape, for example, will show all letters big under Windows 9x and all
> letters small under Windows NT -- I'm know this as windows developer :-)
> This is REALLY annoying to have the same file under three different
> names :-((( Especially in Netscape (in Netscape "Z" < "a" :-))
>
> P.S. I'm talk NOT about File->Open Page in Netscape but about autogenerated
> index for directories (something like file:///d|/ as URL -- you'll see
> "WINDOWS" in Windows 9x and "windows" in Windows NT is you have dual boot
> system like I am). Now Linux carefully follows Windows NT style.
> Since NT was FIRST OS with VFAT support Linux do the "right thing" and
> NetBSD and Windows 95 do the wrong thing. Still options could help someone.
> Just not remove old behaviour!

For more than a decade DOS has displayed its 8.3 file names in uppercase, and
Win95 DOS-boxes only do otherwise if there's a LFN. And my patch doesn't
remove the "old" behaviour - it's still the default.

> P.P.S. For non-ascii letters this is not big problem since for such letters
> LFN will be created unconditionally...

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