RHEL4&5 Automount for USB/CDROM/DVDROM

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat RHEL4&5 Automount for USB/CDROM/DVDROM
# 1  
Old 11-23-2009
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  
Old 11-24-2009
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  
Old 11-24-2009
Quote:
Originally Posted by fpmurphy
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  
Old 11-24-2009
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  
Old 11-25-2009
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

DSF error when trying to add dvdrom to my HPVM

Ignore. (is it impossible to delete your own thread?) (0 Replies)
Discussion started by: bstring
0 Replies

2. Linux

nix User Access Restrictions to Network, USB ports, PCMCIA, CDROM

How to create a user account on a Linux desktop machine with restrictions on connecting to the LAN, WAN, PCMCIA ports, Firewire, CDROM and generally any user controllable output options? I have the task to set up a machine for users working with sensitive data that should not be leaving the... (1 Reply)
Discussion started by: netfreighter
1 Replies

3. Linux

How to install linux in a system without cdrom, usb boot, floppy, other OS?

Hello to everyone, I am new to linux and I want to move to this system after bad experiences with windows. I have also a particular problem. An old laptop is probably able to handle just linux at this point of its life. The cdrom is gone, the bios doesn't have usb boot support, there is no... (6 Replies)
Discussion started by: highkftj
6 Replies

4. UNIX for Dummies Questions & Answers

SCO 5.0.5 & USB flash drive

Can someone help me with instructions on how to access a USB flash drive in SCO Unix 5.0.5? I need to copy ASCII text files that have been zipped onto the USB drive for transfer to a Windows computer. (0 Replies)
Discussion started by: jlodata
0 Replies

5. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

6. Solaris

solaris 10 errors mount external usb Harddisk zfs on a nas without cdrom

Hi, I try to mount an external USB HD on a solaris 10 without any success. Machine hardware: i86pc OS version: 5.10 Processor type: i386 Hardware: i86pc The HD is a zfs, but I installed this with a Ubuntu 8.10. iostat -En displays this: --> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies

7. Debian

automount specific USB-disk to specified path

I was just talking to a friend of mine about a problem I have, and he suggested that udev could probably help me. Allthough he couldn't give me any hints on how to accomplish what i want to. I have read the manual and searched google, but without any good info... here's the thing... I am... (2 Replies)
Discussion started by: noratx
2 Replies

8. SCO

SCO 6. Backup & Restore from USB

Finaly got usb working on sco6. If anyone need help with that just ask. My final goal is to able to do a complete system backup/restore to/from usb. The problems I need help with 1. Can't cpio to usb device. Getting an error message device not found 2. When booted from sco6 emergency... (3 Replies)
Discussion started by: miles556
3 Replies

9. SuSE

Linux & External USB Modems

Hello There, I can understand that this is a classic problem with linux that it does not support even the hardware external modems. I have recently tried a USR External USB v 92 Modem (Model USR 5636). It has got its own DSP @56 Mhz, flash ram of 256 KBs and a EEPROM for upgrading the firmware.... (1 Reply)
Discussion started by: Jawwad
1 Replies

10. UNIX for Dummies Questions & Answers

Openserver 5.07 & APC UPS via USB

I have the latest version of SCO Openserver 5.0.7. I'm trying to install a APC Uninerrupted Power Supply 750EX using the USB port. During the installation it was asking for a port to connect the APC into. The only choices are either tty1a, tty2a, or other. I chose other but it start asking me to... (1 Reply)
Discussion started by: josramon
1 Replies
Login or Register to Ask a Question