Posts tagged: mount the cdrom in linux

Jun 17 2010

How to Detect and Mount the CD-ROM in Linux

How to Detect and Mount the CD-ROM in Linux

1. Detecting CD-ROM/DVD-ROM drive
# wodim –devices

[lokesh@Mudhalvan ~]$ wodim –devices
wodim: Overview of accessible drives (1 found) :
————————————————————————-
0 dev=’/dev/scd0′ rwrw– : ‘HL-DT-ST’ ‘RW/DVD GCC-4243N’
————————————————————————-
[lokesh@Mudhalvan ~]$

2. Testing for iso9660 compatibility
# cat /proc/filesystems

3. Creating mount point
# mkdir /media/cdrom

4. Mounting CD
# mount -t iso9660 /dev/scd0 /media/cdrom/

5. Altering /etc/fstab
/dev/sdc0 /media/cdrom iso9660 ro,user,noauto 0 0

6. Unmount and eject CD
# unmout /dev/sdc0
# eject

Alibi3col theme by Themocracy