Re: JFS default behavior / UTF-8 filenames
kernel_at_mikebell.org
Date: 02/22/04
- Previous message: Sam Ravnborg: "Re: [1/3] kgdb-lite for 2.6.3"
- In reply to: Dave Kleikamp: "Re: JFS default behavior / UTF-8 filenames"
- Next in thread: Dave Kleikamp: "Re: JFS default behavior / UTF-8 filenames"
- Reply: Dave Kleikamp: "Re: JFS default behavior / UTF-8 filenames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 22 Feb 2004 11:22:39 -0800 To: Dave Kleikamp <shaggy@austin.ibm.com>
On Fri, Feb 20, 2004 at 09:00:58AM -0600, Dave Kleikamp wrote:
> With no iocharset specified, a filename with such a character will be
> inaccessible. Probably the best thing for readdir to do is to
> substitute a '?' and print a message to the syslog to mount the volume
> with iocharset=utf8 to be able to access the file. Of course I would
> limit the number of printk's to something small. I'll submit a patch to
> do this.
And that's why I was saying I think UTF-8 mode is the "least broken" for
any filesystem that stores filenames in a specific encoding rather than
"as the client submitted it". And most especially for UCS-2/UTF-16
filesystems.
I think the default for a filesystem should be something that absolutely
will not disappear your files. So for NTFS/JFS, it should be UTF-8. And
if a traditional UNIX filesystem wants to do a UTF-8 only mode, I think
ideally it should be done at mkfs time rather than mount time.
-
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/
- Previous message: Sam Ravnborg: "Re: [1/3] kgdb-lite for 2.6.3"
- In reply to: Dave Kleikamp: "Re: JFS default behavior / UTF-8 filenames"
- Next in thread: Dave Kleikamp: "Re: JFS default behavior / UTF-8 filenames"
- Reply: Dave Kleikamp: "Re: JFS default behavior / UTF-8 filenames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|