Re: JFS default behavior / UTF-8 filenames

kernel_at_mikebell.org
Date: 02/22/04

  • Next message: Petr Vandrovec: "Re: 2.6.3-mjb1 vmware modules compile error.."
    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/


  • Next message: Petr Vandrovec: "Re: 2.6.3-mjb1 vmware modules compile error.."

    Relevant Pages

    • Re: A Great Idea (tm) about reimplementing NLS.
      ... would translate filenames form utf-8 stored on the media to e.g. latin2 ... one encoding for a particular language ... The filesystem is already populated with UFT-8 names. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Orwell 0.1 beta 1 released!
      ... filename "asdf.txt", so i got alot of asdfjkl files. ... >>> Orwell differs from gedit in that it does NOT use the filesystem ... > hero must drink brandy." ...Samuel Johnson ...
      (Ubuntu)
    • Re: Ruby 1.9 still cannot list all files on Vista or XP?
      ... ah it is not really about using UTF-8 in my program file... ... paste the text into a filename on Windows XP or Vista. ... Well OK - so I built the latest from the ruby 1.9.1 branch in subversion, ...
      (comp.lang.ruby)
    • Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.
      ... If MAC implementation handles filename and its attributes pair, this filesystem is not needed. ... if he/she is permitted to create device files by MAC's policy. ...
      (Linux-Kernel)
    • Re: [PATCH][RFC] Simple tamper-proof device filesystem.
      ... Subject: Simple tamper-proof device filesystem. ... no MAC implementation can handle filename and its attribute. ... Allocate an inode, and we're done.. ... struct inode *inode; ...
      (Linux-Kernel)

    Loading