# 14.5. How do I mount filesystems (eg. my CD-ROM drive) in KDE?

To mount your CD-ROM drive, first, you (as root) need to add the following line to /etc/fstab:

     /dev/cdrom     /cdrom     iso9660  ro,user,noauto,unhide

Please make sure that you have a soft link from /dev/cdrom to whatever /dev/hd? your cdrom is (assuming you are using an ATAPI cdrom). You should see something like this when you "ls -l /dev/cdrom".

     lrwxrwxrwx   1 root     root            8 Jul 28 22:21 /dev/cdrom -> /dev/hdb

The above would be done with "ln -s /dev/hdb /dev/cdrom" (as root).

Last but not least, make sure a valid mount point exists for the cdrom to be mounted on, for example:

     % ls -la /cdrom
     total 2
     drwxrwsr-x   2 root     cdrom        1024 Sep 14  1995 ./
     drwxr-xr-x  24 root     root         1024 Dec  1 21:00 ../

Now you can mount it from the command prompt by typing:

     % mount /cdrom

Or if you prefer, create a KDE device link to your cdrom and place it on your desktop. Clicking on it will automatically mount the drive for you. Okay, concerning the question of how to make a KDE device link to your cdrom, please look to KDE Help for the answers.

More information on mounting filesystems can be found by running `man fstab` and `man mount` respectively.