-
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
-
Senior Member
registered user
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.
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
-
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
-
Senior Member
registered user
--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.
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
-
By zette in forum MS Windows & New to Linux
Replies: 2
Last Post: 05-04-2005, 03:03 PM
-
By harry66 in forum General Support
Replies: 1
Last Post: 03-30-2005, 05:03 PM
-
By itaydagani in forum MS Windows & New to Linux
Replies: 3
Last Post: 02-02-2005, 12:53 AM
-
By David Ormsby-Gore in forum MS Windows & New to Linux
Replies: 4
Last Post: 07-08-2004, 09:45 AM
-
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
-
Forum Rules
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$219.99
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$253.79
4TB Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch For Laptop SSD
$45.17
Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot
$188.09
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
4TB Ssd 870 Internal Solid State Drive Hard Disk 2.5 Inch Sata Iii 2TB Ssd
$34.99
New 4tb 870 EVO Solid Hard Drive Disk SSD for Ps5 Internal State 2.5inch SATA~
$36.99
Kingchuxing 512GB 1TB 2TB SSD 2.5"SATA III Internal Solid State Drive 500MB/s
$13.93
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
WD_BLACK 1TB SN850 NVMe Internal Gaming SSD Solid State Drive
$64.95