LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-29-2007, 02:05 PM   #1
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 315

Rep: Reputation: 34
how is the usb auto mount working ?


hi all,
I am using RHEL 4.0 on my desktop. When I plug in the usb storage disk it is detected and a shortcut is added to the desktop.
Well I would like to know what part of the OS is doing it or if it is some service.
I checked out the net and also read a few things. I have seen there is a hotplug dir in /etc however the usb.usermap file doesnot have anything other than usb-cam entries for large number of usb digital cameras. Also the /etc/init.d dir doesnot have a hotplug script. So hotplug is not doing that stuff. right ?
Ok next I see the autofs service enabled in the present runlevel and when I do a status check it shows
# > service autofs status
Configured Mount Points:
------------------------

Active Mount Points:
--------------------


Nothing there ! also the /etc/auto.master file is all comented out. So that isn't doing it either ! that is where I loose track.

Ok one more thing the /etc/fstab file has an entry like this :

/dev/sda /media/usbdisk vfat pamconsole,noatime,sync,fscontext=system_ubject_r:removable_t,exec,noauto,managed 0 0

Can someone tell me what is happening?!?

thanks in advance
nishith
 
Old 10-30-2007, 02:43 PM   #2
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
http://www.linuxquestions.org/questi...k-10.0-225455/

..depending on distro and desktop (kde/gnome) there are several collaborations that get automount working.

For example, when using GNOME the linux HAL service, automount and gnome-volume-manager does this for you.

There are several ways to crack the nut but it depends on which base of linux (redhat / debian etc) you are using and which desktop you use.
 
Old 10-31-2007, 02:48 PM   #3
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 315

Original Poster
Rep: Reputation: 34
thanks for your response.
I am using RHEL 4.0 and my desktop environment is GNOME.
nishith
 
  


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
Auto Mount not working for USB? Hald not running? SonoranFun Linux - Newbie 6 05-15-2011 03:31 PM
SuSE 9.3 USB Flash Drive Auto Mount Stopped Working nuro305 Linux - Hardware 11 04-15-2007 06:21 AM
auto mount usb drive jag Slackware 3 07-28-2006 04:09 AM
auto mount ext3 usb hardrive not working fedora 5 Paridoth Fedora 2 05-30-2006 09:39 PM
Auto Mount Floppy/CD/USB Asificare Red Hat 2 08-29-2003 10:53 AM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
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