LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-24-2010, 03:15 PM   #1
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Rep: Reputation: 32
Set NTFS (fuseblk) external media to mount with UTF-8 filesystem


Kubuntu 10.10 nicely mounts vfat external media as UTF-8, see for
example my disk-on-key:
Code:
/dev/sdd1 on /media/DOTANCOHEN type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1002,gid=1002,shortname=mixed,dmask=0077,utf8=1,showexec)
However, NTFS external media is not UTF-8, and it is giving this user
a hassle as her native language cannot be represented in ASCII:
Code:
/dev/sdc1 on /media/Expansion Drive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How does one configure the mounting of such external media? There is
little sense in editing fstab as there could be any arbitrary device
attached to the system which needs this. So how is it done?

Thanks!
 
Old 12-24-2010, 06:07 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello dotancohen,
Quote:
Originally Posted by dotancohen View Post
... How does one configure the mounting of such external media? There is little sense in editing fstab as there could be any arbitrary device
attached to the system which needs this. So how is it done?...
you may take a look at "udev-rules", here's a tutorial: http://reactivated.net/writing_udev_rules.html
As you know udev manages the devices in Linux. One can create udev-rules in order to bind actions to a specific device (recognized for example by vendor and/or serial-number). These actions are then achieved by the udev-daemon when it recognizes the device, for example your external harddrive.

Markus
 
1 members found this post helpful.
Old 12-25-2010, 11:21 AM   #3
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Original Poster
Rep: Reputation: 32
Thanks, Markush. I had heard of udev in the past but forgot about it. The page that you link to is terrific, that should solve this issue.

Thanks!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Trying to mount RAID0 NTFS filesystem elemings Linux - Hardware 2 09-17-2008 04:21 PM
How can i mount NTFS filesystem? alice95089 Linux - Software 9 03-16-2005 08:46 AM
How do I mount a HDD with a NTFS filesystem? orange400 Linux - General 15 03-04-2003 10:51 PM
How to Mount NTFS filesystem in RH7.2 salman Linux - General 4 12-01-2001 01:28 AM


All times are GMT -5. The time now is 03:18 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 Google+: linuxquestions
Open Source Consulting | Domain Registration