Hi Richard,
Thanks a lot for your reply !
Richard Russon <nt...@fl...>:
> Hi Andrei,
>
> Sorry for the slow reply.
Same here
> I hadn't forgotten you, I've just been really
> busy.
>
> > Now I see a few dozen directories and files whose names have "?" as a
> prefix,
> > and I'm getting "file <filename> not found" if I try to copy them.
>
> OK, that sounds like a filename translation problem.
>
> > Is there anything I can do to track what's going on ?
>
> Yes, have a look in the system log for anything ntfs-related
>
> /var/log/message
>
> (you may need to be root to read this file).
"NTFS: Invalid MFT record for 0x16b39"
There are a few such records in /var/log/message, just as there were
several times when I am getting a "file not found" reply.
>
> > pretty much all of these files have russian names - can it be
> > something related to charset for examples ?
>
> All filenames in NTFS are stored in Unicode. The driver will try to
> squeeze these names into ASCII. If it can't, normally it would ignore
> them completely. Try mounting the partition as UTF8:
>
> mount /dev/hda1 /mnt/windows -t ntfs -r -o iocharset=utf8
>
> This character set will be able to represent all the Cyrillic
> characters. Alternatively, using the KOI (something) set might work/
Sorry for possibly being unclear in my original post -
I did mount the disk with the iocharset flag all the way, and I do see
Cyrillic filenames - the only thing, "problematic" files all have "?"
as a prefix (otherwise their name is cyrrillic and correct).
>
> Hope this helps,
> FlatCap (Rich)
> nt...@fl...
>
>
>
Regards,
Andrei
|