Results 1 to 4 of 4

Thread: ddrescue and foreign language filenames

  1. #1
    Join Date
    May 2005
    Location
    UK
    Beans
    91
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question ddrescue and foreign language filenames

    I am trying to take a ddrescue copy of a partition prior to an update, but it is losing all of the Japanese filenames.

    I have Japanese filenames as I have some Japanese music CDs which I have ripped and kept the Japanese track names.

    Is there a way to correctly copy these file names with ddrescue?

    The command I am using is:
    sudo ddrescue --no-split /dev/<partition> <image> <logfile>

    Thanks

    MM
    I am the bigger bunny! Squash that small bunny!

    () ()
    ('.')
    (")(")


  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ddrescue and foreign language filenames

    I haven't used ddrescue with UTF8 filenames, but are you certain that both file systems are setup to support utf8 filenames?

    It is possible that ddrescue was not coded to support anything except ASCII filenames. In theory, it may be possible to find that code and change it, but that is completely dependent on your skill.

  3. #3
    Join Date
    May 2005
    Location
    UK
    Beans
    91
    Distro
    Ubuntu 12.04 Precise Pangolin

    Unhappy Re: ddrescue and foreign language filenames

    Ah, could that be my problem? I did not use iocharset=utf8 when mounting the image file. I'll try that and see if that makes a difference.
    I am the bigger bunny! Squash that small bunny!

    () ()
    ('.')
    (")(")


  4. #4
    Join Date
    May 2005
    Location
    UK
    Beans
    91
    Distro
    Ubuntu 12.04 Precise Pangolin

    Thumbs up Re: ddrescue and foreign language filenames

    Yes, that did the trick. Adding the option to make the command line:

    sudo mount -o loop,iocharset=utf8 /media/D\ DRIVE/banbaPC.img ~/mnt

    allowed this to work.

    I am the bigger bunny! Squash that small bunny!

    () ()
    ('.')
    (")(")


Tags for this Thread

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
  •