LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-07-2008, 06:41 AM   #1
scorpion77
Member
 
Registered: Sep 2003
Distribution: Slackware64 13.37
Posts: 52

Rep: Reputation: 15
Problem in displaying files and directories with ntfs-3g


Hi to all,
I have a pc with Slackware 12.1 and Windows Vista Ultimate 64 bit with Service Pack 1.
To mount ntfs partitions I use ntfs-3g 1.2712. My problem is that I can't display properly 2 directories in the ntfs partition, which have the trademark symbol (™): File de La Battaglia per la Terra di Mezzo™ II and File de Il Signore degli Anelli™ – L'Ascesa del Re Stregone™, which are the Italian version of Battle For Middle-Earth II and Battle For Middle-Earth II – The Rise Of The Witch King.
I see directories so:

File de La Battaglia per la Terra di Mezzoâ□˘ II

File de Il Signore degli Anelliâ□˘ - L'Ascesa del Re Stregoneâ□˘

I mount the ntfs partition with this locale option: it_IT.utf8 and those incomprehensible characters (â□˘) appear in place of .

I also tried to install openSUSE 11.0 and with this distribution I can see the 2 directories properly. So I tried to use the openSUSE mount options with Slackware, but it doesn't work. Probably Slackware lacks some package on the fonts or maps of characters, but what?
Did anyone has this problem and succeeded to resolve it?

Thanks for the help,

Scorpion77
 
Old 08-08-2008, 02:07 AM   #2
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 296

Rep: Reputation: 48
The option for mounting ntfs with utf8 support is "nls=utf8" I think.
Try that one, without the "it_IT" in it.
 
Old 08-08-2008, 10:52 AM   #3
scorpion77
Member
 
Registered: Sep 2003
Distribution: Slackware64 13.37
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ppr:kut View Post
The option for mounting ntfs with utf8 support is "nls=utf8" I think.
Try that one, without the "it_IT" in it.
I tried with option nls=utf8 but it doesn't work. I made many tests with various mount options, here they are:

FIRST TEST

Mount options: ntfs-3g silent,umask=0,locale=it_IT.utf8 0 0

Result: I can see the directories but with incomprehensible characters

The content of /var/log/messages regarding ntfs-3g:

Aug 8 14:48:28 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 14:48:28 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character
Aug 8 14:48:45 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 14:48:45 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character
Aug 8 14:48:45 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 14:48:45 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character
Aug 8 14:48:52 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 69973): Invalid or incomplete multibyte or wide character
Aug 8 14:48:52 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 70030): Invalid or incomplete multibyte or wide character
Aug 8 14:48:52 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 111386): Invalid or incomplete multibyte or wide character
Aug 8 14:48:52 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 69973): Invalid or incomplete multibyte or wide character
Aug 8 14:48:52 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 70030): Invalid or incomplete multibyte or wide character
Aug 8 14:48:52 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 111386): Invalid or incomplete multibyte or wide character

SECOND TEST

Mount options: ntfs-3g nls=utf8 0 0

Result: I can't see the directories with trademark symbol

The content of /var/log/messages regarding ntfs-3g:

Aug 8 15:09:06 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 69973): Invalid or incomplete multibyte or wide character
Aug 8 15:09:06 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 70030): Invalid or incomplete multibyte or wide character
Aug 8 15:09:06 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 111386): Invalid or incomplete multibyte or wide character
Aug 8 15:10:14 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 15:10:14 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character
Aug 8 15:10:14 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 15:10:14 darkstar ntfs-3g[2737]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character

THIRD TEST

Mount options: ntfs-3g locale=it_IT@euro 0 0

Result: I can't see the directories with trademark symbol

The content of /var/log/messages regarding ntfs-3g:

Aug 8 15:14:57 darkstar ntfs-3g[2736]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 15:14:57 darkstar ntfs-3g[2736]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character
Aug 8 15:14:57 darkstar ntfs-3g[2736]: Skipping unrepresentable filename (inode 89815): Invalid or incomplete multibyte or wide character
Aug 8 15:14:57 darkstar ntfs-3g[2736]: Skipping unrepresentable filename (inode 89880): Invalid or incomplete multibyte or wide character

FOURTH TEST

Mount options: ntfs-3g locale=it_IT.utf8 0 0

Result: I can see the directories but with incomprehensible characters

The content of /var/log/messages regarding ntfs-3g:

No content regarding ntfs-3g

The last test shows as if it were all right, in fact there are no errors in the file /var/log/messages, but it doesn't work.
 
Old 08-09-2008, 04:45 AM   #4
scorpion77
Member
 
Registered: Sep 2003
Distribution: Slackware64 13.37
Posts: 52

Original Poster
Rep: Reputation: 15
I did it! Finally I solved this problem.
I made a mistake with the Italian localization of 3 files:

/etc/profile.d/lang.csh
/etc/profile.d/lang.sh
/etc/profile

In the file lang.csh I set: setenv LANG it_IT.utf8
In the file lang.sh I set: export LANG=it_IT.utf8
In the file profile, I set: export LANG="it_IT.utf8"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
C and reading files & directories problem climbingmerlin Programming 4 10-12-2005 02:25 PM
Mount NTFS so that files are not executable buts directories are nasty_daemon Slackware 6 09-20-2005 01:51 AM
Apache problem with displaying compression/archive files. Akujin Linux - Networking 4 03-09-2005 02:18 AM
Simple bash problem - checking for files and displaying the first line morrolan Programming 4 03-07-2005 10:40 AM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration