Place cdrom mount in fstab OEL release 4 update 7
4joey1Aug 4 2010 — edited Aug 5 2010Hallo!I am an Oracle 10g in Linux newbie studying the Oracle 10g in Linux IZ0-046 certification.
I am trying to install Oracle 10g in Oracle Enterprise Linux release 4 update 7.I have reached the stage where I have to mount the Oracle 10g in Linux CD to obtain and unzip the Oracle 10g software.
Unfortunately, I cannot automatically mount the Oracle 10g CD (or any other CD) when I insert a CD in a CD-ROM.I a forced to type the commands below every time after reboot to mount a CD.
[root@joey-oel ~]# mkdir /media/cdrom
[root@joey-oel ~]# mount -t iso9660 -o ro /dev/cdrom /media/cdrom
I would like to automate the CD mount process after every reboot.I think this will entail adding the /media/cdrom entry in the /etc/fstab file.Currently,my fstab file looks like this
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home1 /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda5 swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sdb1 /media/JOEY vfat pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
Please provide me with the exact syntax for appending to the fstab file to automate automate the CD mount process after every reboot.
Thanks.