Results 1 to 4 of 4

Thread: NTFS filename mangling

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    3

    NTFS filename mangling

    Hi --

    Is there a way to make unprintable characters into 3 letter sequences when you mount an NTFS partition? "-o uni_xlate " does not work (i guess the man page is lying about it).

    Thanks
    foo

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: NTFS filename mangling

    --Read the man page again:

    uni_xlate=[0|1|2]
    For 0 (or `no' or `false'), do not use escape sequences for
    unknown Unicode characters. For 1 (or `yes' or `true') or 2,
    use vfat-style 4-byte escape sequences starting with ":". Here 2
    give a little-endian encoding and 1 a byteswapped bigendian
    encoding.

    --You have to do something like -ouni_xlate=1. However, I have had good luck with -o utf8. Try it and see which works best for you.

    Quote Originally Posted by foobar13
    Hi --

    Is there a way to make unprintable characters into 3 letter sequences when you mount an NTFS partition? "-o uni_xlate " does not work (i guess the man page is lying about it).

    Thanks
    foo

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    3
    Here is what I type:

    # mount -r -t ntfs -ouni_xlate=1 /dev/sda2 /mnt/sda2

    Here is what I get:

    NTFS: unkown option 'uni_xlate'
    mount: wrong fs type <etc, etc>

    I have read the man page a number of times--this doesn't work.

    When I less a directory after utf8, I get some weird characters in the output in brackets.

    Thanks for your attention.
    W

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --Well, I had quite a long post here explaining various things, and accidentally closed the browser window.

    --This is one reason why I hate NTFS, and still use Win98se. There are plenty of utilities in Linux to help you rename files, but we can't write the changes back to an NTFS file system!!

    --Basically, I don't allow weird chars (yes, that includes spaces) in my filenames (except for system-default stuff like Program Files, that can't be changed.) If it's not a-z, a dash or a number, it ain't in my filename. (That's right, I don't even like _UNDERSCORES_. Why type one of those when you can have a dash instead?) Moreover, my filenames are lower-case wherever possible. It's just faster to type all lower-case and dashes, when you don't have to hit Shift.

    --My suggestion is to take note of which filenames are coming up weird, and rename them to something simpler in Windows. Google is your friend - here are some links that I hope will help. PLEASE let the board know if one of them helps!!

    http://dmoz.org/Computers/Software/F...agers/Windows/
    http://www.techalchemy.net/
    http://mfr.queryweb.com/
    http://www.renwiz.com/
    http://www.powerrenamer.com/

    --To make things simpler in the future, I recommend doing what I do: If you click on "Save As" in your browser and the filename looks goofy, change it RIGHT THERE before it hits the hard drive. Just my $2.02.

    Quote Originally Posted by foobar13
    Here is what I type:

    # mount -r -t ntfs -ouni_xlate=1 /dev/sda2 /mnt/sda2

    Here is what I get:

    NTFS: unkown option 'uni_xlate'
    mount: wrong fs type <etc, etc>

    I have read the man page a number of times--this doesn't work.

    When I less a directory after utf8, I get some weird characters in the output in brackets.

    Thanks for your attention.
    W

Similar Threads

  1. ntfs.sys file: Writing on ntfs partition version 3.8.1
    By zette in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 05-04-2005, 03:03 PM
  2. unable to write to NTFS with captive-ntfs
    By harry66 in forum General Support
    Replies: 1
    Last Post: 03-30-2005, 05:03 PM
  3. Captive NTFS on Knoppix 3.6 and WInXP / NTFS hard drive
    By itaydagani in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 02-02-2005, 12:53 AM
  4. NTFS: Will 3.4/2.6 write to NTFS reliably and safely?
    By David Ormsby-Gore in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 07-08-2004, 09:45 AM
  5. captive ntfs - mount ntfs (reade/write) through icon
    By terminator in forum General Support
    Replies: 0
    Last Post: 05-12-2004, 10:52 PM

Posting Permissions

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


DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45

$339.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$256.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$171.99



DELL POWEREDGE R630 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

DELL POWEREDGE R630 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$179.95



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell Poweredge R730xd 2x E5-2660 v3 2.6ghz  / 64gb / H730 / 24x Trays / 2x 750w picture

Dell Poweredge R730xd 2x E5-2660 v3 2.6ghz / 64gb / H730 / 24x Trays / 2x 750w

$344.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$454.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$261.00



DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$247.00