-   Slackware (
-   -   how to auto-mount usb storage (

mirto 12-23-2005 10:20 PM

how to auto-mount usb storage
well, I searched on google and found an auto fs and supermount ( witch I discovered that is only for cds and floppies - I guess), but the didn't work for me. What I want is to plug the usb key or my usb harddrive and just access its directory, just like conectiva, kurumin, suse, fedora.... well and its also showa an icon on the desktop! Prety cool hugh? how can I do that on my slack box?? someones said to put an entry on the fstab BUT sometime I use two or three or more usb storage.... and if I plug my usb hard drive I could have a lot of partitions! How to mkdir to all of them and mount it automatically?? Thanks

dmartins 12-23-2005 10:43 PM

check out hal (or hald) dbus and gnome-volume-manager. I've never really liked needing 3 programs to do automounts so i don't use it. If anyone knows an easier way i'd be interested!

mirto 12-24-2005 09:47 AM

well actually I use kde and I don't hv that gnome-volume-manager. Those hal and dbus what is it?

combatbob 12-29-2005 07:53 AM

You might try hotplugging. /etc/doc/hotplug or linux-hotplug sourceforge net

Alien_Hominid 12-29-2005 03:52 PM

Try this: /etc/rc.d/rc.hotplug If your kernel is 2.6 then hal (hardware abstraction layer) often does the job for you.

tuxdev 12-29-2005 06:21 PM

I setup all the automount to happen in /mnt/auto and have a /auto/usb softlink to /mnt/auto/usb. It is important to use noatime and showexec for your mount options to extend the lifetime of your thumb drive, and have proper file permissions.

mirto 01-04-2006 06:14 PM

Well alien Hominid I didn't undestand what you re talking about;; an tuxdev how did you set up the automount stuff??

tuxdev 01-05-2006 11:48 AM

This thread has a bunch of info about this.
Since I only have one drive plugged in at a time, and I don't have any other SCSI drives, the device for the thumb drive is always /dev/sda1.

All times are GMT -5. The time now is 07:58 AM.