LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-30-2006, 03:58 AM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682

From the man mount manpage:
Code:
Mount options for ntfs
       iocharset=name
              Character  set  to  use when returning file names.  Unlike VFAT, NTFS suppresses names that contain unconvertible charac‐
              ters. Deprecated.

       nls=name
              New name for the option earlier called iocharset.

       utf8   Use UTF-8 for converting file names.

       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 bigen‐
              dian encoding.

       posix=[0|1]
              If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias names  are  presented  as
              hard links instead of being suppressed.

       uid=value, gid=value and umask=value
              Set  the  file permission on the filesystem.  The umask value is given in octal.  By default, the files are owned by root
              and not readable by somebody else.
The gid option that you used was fine. I use both a uid= and gid= option. The charset used result in some very evil characters. I think that you need to use both the nls= option and the iocharset option. I believe that the nls= option should be the charset that you want the filename characters translated to, while the iocharset option needs to match the charset of the filenames that exist on the partition. The trick is figuring out what that would be. It is possible also that these filenames contain control characters for some unimaginable stupid reason. ( Why do people post messages in caps, use evil characters like ()*![]{} in filenames, put spaces in directory names, or use the stupidly redundant "My " in front of directory names, use black backgrounds and unreadable foreground colors? )

However, from your first listing, It look like there is a problem with the filesystem, or this is a strange version of NTFS that linux doesn't understand. You might consider burning these files and reformatting the partition fresh.

Last edited by jschiwal; 06-30-2006 at 04:00 AM.
 
Old 06-30-2006, 06:29 AM   #17
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by haertig
Quote:
You could also try using "Captive NTFS" to mount the partition. This uses NTFS drivers Linux finds in the Windows installation for file access, rather than the NTFS drivers installed into Linux itself. Captive NTFS should be installable on your distro.
with captive it works. but thats no sollution 4M since its so slooow.

Last edited by Ashrack; 06-30-2006 at 06:31 AM.
 
Old 06-30-2006, 06:55 AM   #18
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jschiwal
I think that you need to use both the nls= option and the iocharset option. I believe that the nls= option should be the charset that you want the filename characters translated to, while the iocharset option needs to match the charset of the filenames that exist on the partition. The trick is figuring out what that would be. It is possible also that these filenames contain control characters for some unimaginable stupid reason.
I doubt that illegal characters are responsible. Because if U look at this file:
Code:
?--------- ? ?    ?       ?                ? test.txt
U can see that it possess no threat for ascii table and is even compatible with dos filename(8+3)

Quote:
However, from your first listing, It look like there is a problem with the filesystem, or this is a strange version of NTFS that linux doesn't understand. You might consider burning these files and reformatting the partition fresh.
The NTFS FS was created with Win2003 SP1 server and has 64kb CLUSTER SIZE and is around 200GB in size. So reformating the partition is out of the question... This partition is mainly used for DIVX movies. And eventually I will be moving all of this to XFS partition if I set up UBUNTU DAPPER as a server properly.

Last edited by Ashrack; 06-30-2006 at 07:04 AM.
 
Old 06-30-2006, 07:13 AM   #19
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
I'm probably talking crap here, but is it possible these movie files are copyright protected?
 
Old 06-30-2006, 07:19 AM   #20
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
nope! and as U can see from my previous post that a file called:
'test.txt'
has the same problems
 
Old 06-30-2006, 08:04 AM   #21
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
Apperantly I have already found the sollution. The NTFS version in the 2.6.15 kernel is too old.
Further info here:
http://forum.linux-ntfs.org/viewtopic.php?t=344
 
Old 06-30-2006, 02:23 PM   #22
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
Glad to hear you got it sorted. Amazing to hear that 2.6.15 is already showing its age!
 
Old 06-30-2006, 04:31 PM   #23
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by Ashrack
The NTFS version in the 2.6.15 kernel is too old.
Wow. 2.6.15 hasn't been around very long. Has a new version of NTFS come out that recently? I know Microsoft tweaks the NTFS unpublished spec with most new variants of Windows, but I didn't know anything new in NTFS had come out that recently. I have no trouble reading NTFS with my 2.6.14 kernel, but that is NTFS as implemented in XP Home, XP Pro, and W2k. I'll definitely keep my kernel version in mind if I run into any NTFS problems in the future.
 
Old 07-01-2006, 07:26 AM   #24
Ashrack
Member
 
Registered: Oct 2005
Distribution: Ubuntu - Edgy Eft
Posts: 173

Original Poster
Rep: Reputation: 30
MIKIEBOY
My thoughts exactly!

HAERTIG
Apperantly the old NTFS code wasnt compatible with 200GB partition w/ 64kb cluster size and its sparse files.
Anyway I've compiled kernel 2.6.17 with con kolivas server patchset and everything flies.
I will probably be coverting my big old NTFS partition soon to XFS when I sort out the final problem with FREENX

Last edited by Ashrack; 07-02-2006 at 10:10 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange...can't share usb printer connected to xp pc vatman Linux - Software 2 11-02-2005 06:50 PM
NTFS network share zchoyt Linux - Newbie 4 08-29-2004 07:17 AM
Preserve file permissions when copying from NTFS to a Samba share? somedude Linux - Software 4 06-11-2004 09:20 AM
samba share permissions? psychomaniac Linux - Software 4 04-29-2004 02:22 PM
Samba Share Permissions stever Linux - Newbie 4 05-17-2003 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration