Programming Tutorials

Mounting cdrom in cent os 5 linux

By: Virendra in Linux Tutorials on 2010-11-09  

First of all u have to get the driver of your CD or DVD

You can get it as follows:
[root@viren ~]# eject -n
eject: device is `/dev/hdc'

The device driver is /dev/hdc

Now mount the cdrom

#mount /dev/hdc /mnt/cdrom


Note: create this directory 'cdrom' if in case it doesn't exist

#cd /mnt/cdrom
#ls
You should see the list of files now.

And in case u want to use this command as a shortcut 

#mount /mnt/cdrom

then 

#ln -s /dev/hdc /mnt/cdrom






Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Linux )

Latest Articles (in Linux)