[lkml]   [2007]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Sanitize filesystem NLS handling
    Roman Zippel wrote:

    > I agree that these parameters should be changable not just at compile time
    > and the iocharset should be a global default, but the on disk encoding is
    > often filesystem specific, so I'd rather keep this option per filesystem.

    You are right, the on-disk encoding is filesystem specific. E.g., it is
    always UCS-2 for CIFS, NTFS and VFAT (and my patch doesn't change this).

    It is exposed as a mount parameter and kernel configuration option only for
    fat and smbfs (the two filesystems that my patch touches for this matter),
    and both of these filesystems come from DOS days, where there was one
    codepage for a given country. So, for me, it made sense to glue these two
    parameters, because they both should be set to this codepage. The contrary
    would (AFAIK) only make sense if one gets floppies from France, but
    communicates with Polish SMB servers. It is a very rare situation, isn't it?
    Or do you know any other example where it would clearly make sense to have
    different defaults for fat and smbfs?

    Alexander E. Patrakov
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-03-22 14:25    [W:0.022 / U:47.244 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site