Re: Long file names in VFAT broken with iocharset=utf8

From: Albert Cahalan
Date: Wed May 09 2007 - 11:34:23 EST


On 5/8/07, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:
On May 8 2007 00:43, Albert Cahalan wrote:

> Fix: the vfat driver should use the 8.3 name for such files.

Or the 31-character ISO Level 1(?).

That might be appropriate for a similar problem on CD-ROM
filesystems. (when the CD is rockridge KOI8 and you want UTF-8)
It may even be appropriate for Joliet, though 8.3 may be
the better choice in that case.

It's not appropriate for vfat, HPFS, JFS, or NTFS. All of those
have built-in support for 8.3 aliases. Normally the 8.3 names
are like hidden hard links, except that deletion of either name
will wipe out the other. (same as case differences too)
So the names are there, and they should already work.
They just need to be reported for directory listings when the
long names would be too long.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/