LinuxQuestions.org
Visit Jeremy's Blog.
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 12-23-2005, 09:20 PM   #1
mirto
Member
 
Registered: May 2005
Location: Brazil
Distribution: Debian Testing
Posts: 89

Rep: Reputation: 15
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
 
Old 12-23-2005, 09:43 PM   #2
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
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!
 
Old 12-24-2005, 08:47 AM   #3
mirto
Member
 
Registered: May 2005
Location: Brazil
Distribution: Debian Testing
Posts: 89

Original Poster
Rep: Reputation: 15
well actually I use kde and I don't hv that gnome-volume-manager. Those hal and dbus what is it?
 
Old 12-29-2005, 06:53 AM   #4
combatbob
LQ Newbie
 
Registered: Aug 2005
Location: Killeen, Texas
Distribution: Slackware 10.1, Mandriva, Debian
Posts: 23

Rep: Reputation: 15
You might try hotplugging. /etc/doc/hotplug or linux-hotplug sourceforge net
 
Old 12-29-2005, 02:52 PM   #5
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Try this: /etc/rc.d/rc.hotplug If your kernel is 2.6 then hal (hardware abstraction layer) often does the job for you.
 
Old 12-29-2005, 05:21 PM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
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.
 
Old 01-04-2006, 05:14 PM   #7
mirto
Member
 
Registered: May 2005
Location: Brazil
Distribution: Debian Testing
Posts: 89

Original Poster
Rep: Reputation: 15
Well alien Hominid I didn't undestand what you re talking about;; an tuxdev how did you set up the automount stuff??
 
Old 01-05-2006, 10:48 AM   #8
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SuSe 10.0.0, in user account no auto-mount for USB storage - how to? Thanh-BKK Linux - Newbie 5 12-08-2005 07:09 AM
Cannot mount usb storage under 2.6.9 stelmed Slackware 6 12-12-2004 08:34 AM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
Trying to mount USB MP3 storage key (128Mb) hamster Linux - Hardware 5 04-06-2003 07:52 PM


All times are GMT -5. The time now is 07:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration