![]() |
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. :newbie: |
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 |
Cheers for the help. I'll give it a try.
|
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. |
Can you post your modifications? I am using Redhat 9.
|
I've just installed submount, and it works fine with cdroms. Working on usb key now.
http://submount.sourceforge.net/ |
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 |
| All times are GMT -5. The time now is 03:56 AM. |