Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where do I find the automount options for my USB drives?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
transpetaflops
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 159

PostPosted: Sat Jun 16, 2007 7:51 pm    Post subject: Where do I find the automount options for my USB drives? Reply with quote

I would like to add "utf8" to the mount options used when I plug in my USB drive which has a vfat partition. Where do I find the config file that control this?
/PP
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 381
Location: Dayton, OH, USA

PostPosted: Sat Jun 16, 2007 7:53 pm    Post subject: Reply with quote

/etc/fstab

If you need help adding utf8, post a copy of your fstab
Back to top
View user's profile Send private message
transpetaflops
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 159

PostPosted: Sat Jun 16, 2007 7:58 pm    Post subject: Reply with quote

But I don't have entries for my external USB drives in fstab. That would be impossible since I don't know what device nodes they get from time to time...
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 381
Location: Dayton, OH, USA

PostPosted: Sat Jun 16, 2007 8:02 pm    Post subject: Reply with quote

are you manually mounting them or is there another program in gnome/kde mounting them?

it might be annoying to do this every time (put it in a script) but you may be able to "mount -o remount,utf8,other_options /dev/something /mnt/wherever"
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 381
Location: Dayton, OH, USA

PostPosted: Sat Jun 16, 2007 8:19 pm    Post subject: Reply with quote

Check out this thread for some help on automounting external usb drives that don't always have the same /dev/address - if that doesn't answer your question then it's beyond me :)
Back to top
View user's profile Send private message
transpetaflops
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 159

PostPosted: Sat Jun 16, 2007 9:04 pm    Post subject: Reply with quote

I assume it's hal/dbus automounting the drives for me in Gnome. But I can find no reference to the mount options in their config files. I've been looking in /etc/dbus-1, /etc/hal, /etc/udev and /etc/hotplug*. I've been greping for "vfat" in all of /etc but can't figure out how to grep recursively through the subdirectories.

EDIT: Also been looking it /etc/conf.d ofcourse... first choice :-)
Back to top
View user's profile Send private message
transpetaflops
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 159

PostPosted: Sat Jun 16, 2007 9:43 pm    Post subject: Reply with quote

Googling around a bit I realize it's gnome-volume-manager that is responsible for the automounting. I will Google some more to see if I can find out where its config files reside and how I can change them. If anyone already knows this I'd be happy to have some help...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum