?
Solved

mount

Posted on 2004-08-03
5
Medium Priority
?
386 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 300 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

765 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