Solved

mount

Posted on 2004-08-03
5
384 Views
Last Modified: 2010-04-20
Hi i have REdhat 9.0 with the lilo loader.

I have to setup my system so it automatically mounts my CD-ROM every time that I start up my system. I want to mount  my CD-ROM into /mnt/test directory. But i have to make sure that the filesystem for the CD-ROM is iso9660.

thanks

i appreciate your help.

thanks again

new to linux so please give a little clear instructions.
0
Comment
Question by:theitguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:avizit
ID: 11712561
You have to edit the /etc/fstab file

http://www.humbug.org.au/talks/fstab/fstab.html
http://www.tuxfiles.org/linuxhelp/fstab.html

specifically you have to add/modify the line containing cdtom




/dev/hdc      /mnt/test         iso9660        noauto,ro,user       0       0

0
 

Author Comment

by:theitguy
ID: 11712576
this is the line i believe i must change but what must i change i don't want to mess up.

/dev/cdrom   /mnt/cdrom       udf,iso9660 noauto,owner,kudzu,ro 0 0
0
 
LVL 11

Accepted Solution

by:
avizit earned 75 total points
ID: 11712588
you just change the /mnt/cdrom to  /mnt/test since you said

>>I want to mount  my CD-ROM into /mnt/test directory.

other than that there should not be any changes. But if you are paranoid just take a backup of the file ( and also take a second opinion cos I myself have never had to change that file )

/abhijit/
0
 

Author Comment

by:theitguy
ID: 11712601
so you are saying but doing this the system will automatically mount te cdrom into /mnt/test

right

thnkx
0
 
LVL 11

Expert Comment

by:avizit
ID: 11712613
oh i forgot,  you have to change the "noauto" to "auto"


auto and noauto With the auto option, the device will be mounted automatically (at bootup
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question