[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: CONFIG_VFAT_FS_DUALNAMES regression
    Hi Jan,

    > Then, I just tried everything to get an overview:


    > (All with DUALNAMES=n)
    > # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=lower
    > # cp /mnt/dcim/100_fuji/dscf{4160,3004}.jpg
    > # umount /mnt
    > # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=win95
    > # cp /mnt/dcim/100_fuji/dscf{4160,3005}.jpg
    > # umount /mnt
    > # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=winnt
    > # cp /mnt/dcim/100_fuji/dscf{4160,3006}.jpg
    > # umount /mnt
    > # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=mixed
    > # cp /mnt/dcim/100_fuji/dscf{4160,3007}.jpg
    > # umount /mnt
    > Result? The camera only displays 3006.
    > The dualnames patch's filling filenames with random illegal
    > chars does seems to have a really foul side-effect after

    actually, you've just proved the patch works as intended on your

    Only the shortname=winnt would create a 8.3 name when you use the
    filename dscfNNNN.jpg. That is why my first patch in May forced

    shortname_flags = VFAT_SFN_CREATE_WINNT;

    when the patch triggered. I think this is the only sane behaviour for
    a VFAT filesystem on Linux. Unfortunately it isn't the default, and at
    least on my Ubuntu system the automatic mounting doesn't get this

    I'd love to change the default or do an override, at least when
    dualnames is diabled. Hirofumi-san, what do you think?

    Cheers, Tridge

    PS: I'm assuming you actually typed "shortname=" not
    "shortnames=". The option is not plural.

     \ /
      Last update: 2009-07-03 02:29    [W:0.045 / U:7.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site