Solved

mount

Posted on 2004-08-03
5
377 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
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:avizit
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now