Results 1 to 4 of 4

Thread: Can't stat files on NTFS due to cyrillic names

  1. #1
    Join Date
    Jan 2008
    Beans
    58

    Can't stat files on NTFS due to cyrillic names

    Got a problem backuping.

    1. I have 2 NTFS disks mounted:

    /dev/sda6 on /mnt/data type fuseblk (rw,nosuid,nodev,noatime,allow_other,default_permi ssions,blksize=4096)

    /dev/sdf1 on /media/disk type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)

    2. do an rsync from /mnt/data to /media/disk/backup500

    3. get an error:

    rsync: recv_generator: failed to stat "/media/disk/backup500/Mult/Ёжик в тумане.avi": Invalid or incomplete multibyte or wide character (84)

    So I can access Cyrillic filenames on the first NTFS disk but not on the second. Why?

    Ubuntu 8.04

    Thanks,
    Alex

  2. #2
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Can't stat files on NTFS due to cyrillic names

    Sounds like you probably need to mount the disk with a different character encoding. Maybe try adding utf8 as one of your mount options.
    Don't try to make something "fast" until you are able to quantify "slow".

  3. #3
    Join Date
    Jan 2008
    Beans
    58

    Re: Can't stat files on NTFS due to cyrillic names

    Quote Originally Posted by vor View Post
    Sounds like you probably need to mount the disk with a different character encoding. Maybe try adding utf8 as one of your mount options.
    yep, did that. The question is, how do I make the KDE automount add that option too? Somewhere in HAL?

    Don't want to add a line to fstab, for then it'll only mount under root or I'll have to rebuild some NTFS utilities - at least this is what it said when I tried.

  4. #4
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Can't stat files on NTFS due to cyrillic names

    Quote Originally Posted by n-alexander View Post
    yep, did that. The question is, how do I make the KDE automount add that option too? Somewhere in HAL?
    I think you'll need to use udev in that case. A decent guide can be found at http://reactivated.net/writing_udev_rules.html but, it's a hassle to do this. See below...

    Don't want to add a line to fstab, for then it'll only mount under root or I'll have to rebuild some NTFS utilities - at least this is what it said when I tried.
    Running "man mount" and looking at the ntfs section says that an ntfs partition can be mounted with an explicit uid, gid and umask. Going the fstab route with those options is probably MUCH easier than going the udev route.
    Don't try to make something "fast" until you are able to quantify "slow".

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •