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
|
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!
|
well actually I use kde and I don't hv that gnome-volume-manager. Those hal and dbus what is it?
|
You might try hotplugging. /etc/doc/hotplug or linux-hotplug sourceforge net
|
Try this: /etc/rc.d/rc.hotplug If your kernel is 2.6 then hal (hardware abstraction layer) often does the job for you.
|
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.
|
Well alien Hominid I didn't undestand what you re talking about;; an tuxdev how did you set up the automount stuff??
|
This thread has a bunch of info about this.
http://www.linuxquestions.org/questi...postid=1149234 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:55 AM. |