Professional Documents
Culture Documents
CD's and DVDs are usinf iso9660 filesytem. As any other Operating systems Linux is
also able to read data from standart iso9660 filesystem. Lets see how we can mount cd.
Contents
[hide]
• 1 Media
• 2 Detecting CD-ROM/DVD-ROM drive
• 3 Testing for iso9660 compatibility
• 4 Creating mount point
• 5 Mounting CD
• 6 Mounting Audio CD's
• 7 Altering /etc/fstab
Media
# wodim -devices
If the wodim command is not available on your system make sure that package cdrecord
is installed. After running wodim command you should get output similar to one below:
Well, now its clear that my CD-ROM drive is know by my system as block device
/dev/hdc
# cat /proc/filesystems
# mkdir /media/cdrom0
Mounting CD
As a root issue command:
your CD is now mounted as /media/cdrom0/. Navigate to this directory to see its content.
linuxconfig.org#
This is because music CD's does not contain standard iso9660 filesystem. In fact the story
with music cd's is easier as a story with data CD's with iso9660 filesystem. In order to
listen to music CD just insert it into CD-ROM/DVD-ROM drive and fire up you favorite
music CD player.
Only think you need to be concern about is if you have "kdemultimedia-kio-plugins" for
KDE or in case of gnome "gnome-media" packages installed which also helps you to
browse CD content. In case you would like to see content of music CD just start
"KONQUEROR" and enter location:
audiocd:/
Altering /etc/fstab
To allow users on the system mount CD's or DVD's you can alter your /etc/fstab by add
line similar to this:
# unmout /dev/hdc
# eject
# eject
If you are unable to unmount, make sure, that you are not in mount point directory of
device you are trying to unmount or some other application is not using it. If still you
have a problem to unmount desired drive you can use fuser command to kill all related
processes in regards to your drive.
• Article
• Discussion
• History
Personal tools
Navigation
• Main Page
Linux Commands
• Linux Commands
Tutorials
Search
Publications Archives
• 2009
• 2008
• 2007
Interaction
• Random Page
• Contact us
• About this Project
• Who supports us
Book Store
• Linux Books
Partner Linux Sites
• TuxMachines
• DebianAdmin
• Monsterb
• LinuxBloggers
• AdamsInfo
• LinuxScrew
• FreeSoftwareLinux
• Debian
• Ubuntu
• Red Hat
• Suse
• Kubuntu
• Gentoo
• Fedora
• Slackware
• CentOS
• OpenSuse
• Mandriva
• Knoppix
• Mepis
• Xandros
• PCLinuxOS
• Turbolinux
• Kubuntu
• Arch linux