LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-07-2004, 07:36 PM   #1
nalmo
LQ Newbie
 
Registered: Aug 2004
Location: Glasgow, Scotland
Posts: 4

Rep: Reputation: 0
Automatically Mounting USB Storage Devices???


Hello
I am a total newbie to linux and have a question about mounting usb devices.

I am running fedora core 2 and want to know is it possible to auto mount a usb device as soon as i plug it in to the usb port.
I noticed that this is already done with the cd-rom drives and thought it would be kind of funky to do the same with the usb devices.
I have a usb key and an external hd.

Thanks in advance.

 
Old 08-08-2004, 11:46 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
i think fedora uses autofs
take a look at
/etc/fstab
and
/etc/auto.misc
and see if you can use the cd entries as a template
 
Old 08-11-2004, 05:47 AM   #3
nalmo
LQ Newbie
 
Registered: Aug 2004
Location: Glasgow, Scotland
Posts: 4

Original Poster
Rep: Reputation: 0
Cheers for the help. I'll give it a try.
 
Old 08-11-2004, 11:05 AM   #4
nalmo
LQ Newbie
 
Registered: Aug 2004
Location: Glasgow, Scotland
Posts: 4

Original Poster
Rep: Reputation: 0
Talking

I tried out your advice editing /etc/fstab and it works perfectly. I now can just plug in my external hd and it will just appear on the desktop.

Thanks again for the info.
 
Old 08-11-2004, 02:49 PM   #5
welson_sun
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Rep: Reputation: 15
Can you post your modifications? I am using Redhat 9.
 
Old 08-12-2004, 08:04 AM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
I've just installed submount, and it works fine with cdroms. Working on usb key now.
http://submount.sourceforge.net/
 
Old 08-13-2004, 03:15 PM   #7
nalmo
LQ Newbie
 
Registered: Aug 2004
Location: Glasgow, Scotland
Posts: 4

Original Poster
Rep: Reputation: 0
Here is the entry that i added to the bottom of /etc/fstab :

/dev/sda1 /mnt/usb1 vfat auto,user,rw,exec 0 0

This site pretty much explains most things you need to know about editing /etc/fstab.

http://www.tuxfiles.org/linuxhelp/fstab.html

Last edited by nalmo; 08-13-2004 at 03:16 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB storage devices difficult to mount and use jaakkop Slackware 4 11-16-2005 04:03 PM
Mounting USB storage devices COKE CAN Debian 18 08-02-2005 02:14 AM
mounting usb storage devices blues patitoconejita Linux - Hardware 7 03-29-2005 07:24 AM
USB storage devices? Valael Fedora 1 08-17-2004 04:24 PM
usb mass storage devices rukinhas Mandriva 1 11-18-2003 07:23 PM


All times are GMT -5. The time now is 09:20 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