LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-20-2012, 05:54 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
Slack 13.37 - utf8 option for automount ?


Hello!
today i switching from mandriva 2010.2 x64 to slackware 13.37 x86 ( 32 bit) on my desktop.
one of problem - i found, external usb hdd, who i mount from kde, shows strange symbols in russian filenames and catalogs. on mandriva all be ok.
i look at mount command and see:
mount
/dev/sdb1 on /media/WD2Tb type ext4 (rw,nosuid,nodev,uhelper=hal)
/dev/sdc1 on /media/PHILIPS type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,utf8,shortname=mixed,flush)

as i see, for usb vfat flash automatically is assigned utf8, but for external hdd ( sdb1 ) - not. i think, problem is there.
look around for problem solving, but cannot find - where and who i must edit for give a default iocharset of utf8 for all usb mountings device ?
thanks...
 
Old 02-20-2012, 06:32 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Create a permanent mount point for your WD2Tb device:

Quote:
--# mkdir /mnt/WD2

Add this line to your /etc/fstab file; use your editor of choice enter this line:

Quote:
/dev/sdb1 /media/WD2 ext4 defaults,utf-8 0 0
Try to reattach this device, or issue command:

Quote:
--# mount -a
check if it worked.

Hope that helps.
 
Old 02-20-2012, 07:09 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
thanks, but that's not nice solution, even if it works. i need a nice, native, default for all usb mount media, solution...
again - in mandriva that works from box. as so, i think, it be possible in slackware too. sadly, it is not configured well in distro, as so i try to config that yourself...
 
Old 02-20-2012, 08:28 AM   #4
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
http://www.linuxfromscratch.org/blfs...neral/hal.html
until that, i discovered, a HAL is in that process. currently i see, i can write in 20-storage-methods.fdi, a "allowed option" of utf8, but not discovered what i can do given_options utf8 ....
 
Old 02-20-2012, 08:36 AM   #5
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
Have you set your locale in /etc/profile.d/lang.* scripts? That should do it.
 
Old 02-20-2012, 08:55 AM   #6
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Smile

Quote:
Originally Posted by bonixavier View Post
Have you set your locale in /etc/profile.d/lang.* scripts? That should do it.
ok, thank you very much! now worked. mounting is the same, without "utf8" in mount output, but russian chars show correctly now on external hdd.
strange, as slackware now on default use en_US charset / codepage. on install stage i answer yes on question "do you want to use utf-8 in text console?" and be a sure, a my system default locale is utf8...
thank you again!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get KDE4 to automount all vfat usb-sticks with the "flush" mount option? ssenuta Mandriva 1 01-15-2010 12:14 AM
Slack 13, failure to automount usb thumbdrive and cdroms wufo Slackware 3 12-15-2009 08:49 AM
How to automount devices in Slack 11.00 (kernel 2.6) krussell Slackware 3 11-05-2006 04:35 PM
Slack Current and KDE 3.5 automount rje_NC Slackware 58 05-25-2006 08:58 PM
Optical drives don't automount in Slack 10.1 thorney Linux - Newbie 1 08-06-2005 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:15 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