Frequently Asked Questions for FreeBSD 2.X : Miscellaneous Questions : How do I mount a CDROM? I've tried using mount(8), but it keeps on giving me an error like, ``/dev/cd0a on /mnt: Incorrect super block.''
Previous: Hey! Chmod doesn't change the file permissions of symlinked files! What's going on?
Next: When I try to mount a CDROM, I get a ``Device not configured'' error. What's going on?

7.2. How do I mount a CDROM? I've tried using mount(8), but it keeps on giving me an error like, ``/dev/cd0a on /mnt: Incorrect super block.''

You have to tell mount(8) the type of the device that you want to mount. By default, mount(8) will assume the filesystem is of type ``ufs''. You want to mount a CDROM filesystem, and you do this by specifying the ``-t cd9660'' option to mount(8). This does, of course, assume that the CDROM contains an ISO 9660 filesystem, which is what most CDROMs have. As of 1.1R, FreeBSD also understands the Rock Ridge (long filename) extensions.

As an example, if you want to mount the CDROM device, ``/dev/cd0c'', under /mnt, you would execute:

            mount -t cd9660 /dev/cd0c /mnt
          

Note that your device name (``/dev/cd0c'' in this example) could be different, depending on the CDROM interface. Note that the ``-t cd9660'' option just causes the ``mount_cd9660'' command to be executed, and so the above example could be shortened to:

            mount_cd9660 /dev/cd0c /mnt
          


Frequently Asked Questions for FreeBSD 2.X : Miscellaneous Questions : How do I mount a CDROM? I've tried using mount(8), but it keeps on giving me an error like, ``/dev/cd0a on /mnt: Incorrect super block.''
Previous: Hey! Chmod doesn't change the file permissions of symlinked files! What's going on?
Next: When I try to mount a CDROM, I get a ``Device not configured'' error. What's going on?