LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   auto mount removable drives (http://www.linuxquestions.org/questions/slackware-14/auto-mount-removable-drives-443163/)

mallyooh 05-09-2006 12:53 PM

auto mount removable drives
 
what is the best method to auto mount and un mount removable drives such as an mp3 player or digital camera? I can mount the mp3 player manually from the command line but im sure this can be done automatically. Im using slackware 10.2 with 2.6.16 kernel. Any help much appreciated

rje_NC 05-09-2006 01:00 PM

If you are interested in using Gnome, the new Dropline Gnome will automount those devices when using the 2.6.16 kernel. I use this on several desktop and laptop systems with excellent results for me.

I would also like to know how to do this under KDE. I am running Slackware Current on a text system, and I also seem to have to mount devices manually. Hopefully it is due to my lack of knowlegdge of KDE.

Bob

blueAlien 05-09-2006 01:05 PM

http://www.greenfly.org/tips/autofs.html

quip 05-09-2006 02:42 PM

I believe autofs is deprecated. In any event, a good guide to getting things going can be found at: http://wiki.kde.org/tiki-index.php?page=DBUS. I found it easy enough to upgrade my gnome to freerock's latest, and use their hal and dbus packages. Then, all I had to do was patch the mount utility and rebuild it, along with a small part of KDE. It is all described pretty well on the site. I haven't messed with pmount and ivman much, but fstab-sync works pretty well "out of the box". The only caveat I have found: if you use fstab-sync, make sure your fstab has all of its fields correctly filled out. I couldn't get it going on my desktop, only to have it work by adding "0 0" to some of my entries that didn't have one (so that each entry had a value for that field).

mallyooh 05-09-2006 06:48 PM

cheers
 
thanks to everyone for their replies. i would definitely consider going back to gnome in the future but as a new slackware user i thought i would give kde a whirl. if autofs is deprecated like you say then ill try out the dbus approach.will post back to say which method i eventually manage to get going. thanks again.

tuxdev 05-09-2006 08:18 PM

I will only consider autofs deprecated when the kernel says it is. I think it is much easier to administrate cause it is simpler than DBUS.

quip 05-09-2006 09:39 PM

Quote:

Originally Posted by tuxdev
I will only consider autofs deprecated when the kernel says it is. I think it is much easier to administrate cause it is simpler than DBUS.

You might well be right. What I meant was that I think the general trend is to move things like this to userspace programs, like dbus, instead of sitting in the kernel, like autofs. I did not mean to say that it was being ditched, and I should state that I do not have any experience with it.


All times are GMT -5. The time now is 12:23 AM.