The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
grep unix.com with google



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-23-2009
Registered User
 

Join Date: Nov 2008
Posts: 17
RHEL4&5 Automount for USB/CDROM/DVDROM

Hi Guys,

as above, how do I enable automount for USB/CDROM/DVDROM in RHEL4 & 5?

I have searched the forum on this topic but didn't find any.
Also searched the net but it seems confusing and there are different ways to do things depending on the distros.

Btw, I am on RHEL command line only with no GNOME or KDE.

TIA
  #2 (permalink)  
Old 11-24-2009
fpmurphy's Avatar
Moderator
 

Join Date: Dec 2003
Location: Florida
Posts: 2,030
It is usually in /etc/auto.misc. The default RHEL5 auto.misc contains the appropriate entry i.e.

Code:
cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

  #3 (permalink)  
Old 11-24-2009
Registered User
 

Join Date: Nov 2008
Posts: 17
Quote:
Originally Posted by fpmurphy View Post
It is usually in /etc/auto.misc. The default RHEL5 auto.misc contains the appropriate entry i.e.

Code:
cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Hi fpmurphy,

ya, i check the auto.misc file.

It contain that entry uncommented, however it does not mount the cdrom when one was inserted into the drive.

Any idea what else i need to enable?

TIA
  #4 (permalink)  
Old 11-24-2009
Registered User
 

Join Date: May 2009
Location: Irving,TX
Posts: 34
well simple way would be


Code:

#vi /etc/fstab

/dev/cdrom              /mnt/cdrom              auto    defaults        0 0

what this will do is on your system start or reboot it will mount the drive.
and everytime you put in the cd you will have access to it in /mnt/cdrom.
also i think you have to run
Code:
#mount -a

you dont have to mount it to /mnt/cdrom
you can mount to which ever directory you want it to mount on.

i dont know why but with REDHAT,and SOLARIS system i have installed the drive will not open with eject button..so type command and be outside the /mnt/cdrom directory


Code:
#eject


Last edited by dplinux; 11-24-2009 at 07:33 PM.. Reason: correction
  #5 (permalink)  
Old 11-25-2009
fpmurphy's Avatar
Moderator
 

Join Date: Dec 2003
Location: Florida
Posts: 2,030
Check your system-config-services and see if autofs, haldaemon and messagebus/dbus are enabled. You may also want to check your settings under /System/Preferences/Removable Drives and Media
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Update for RHEL4 laxmikant Red Hat 2 10-30-2009 09:16 AM
How to set dns in rhel4 flekzout Red Hat 4 10-27-2009 09:42 AM
Problem on RHEL4.7 mtrr Cybre Red Hat 1 12-29-2008 06:38 AM
Adobe Reader in RHEL4 etcpasswd Linux 5 11-13-2008 05:16 AM
Installing Fonts on RHEL4 ankurjain Linux 1 03-05-2008 03:24 AM



All times are GMT -4. The time now is 07:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0