Solved

mount

Posted on 2004-08-03
5
378 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
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux crontab output 3 66
AWS CLI issues with Tags 3 63
High Available Storage based on linux 6 68
Coding C# in Linux 8 21
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…

911 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

18 Experts available now in Live!

Get 1:1 Help Now