mount(8)
, but it keeps on giving me an error like, ``/dev/cd0a on /mnt: Incorrect super block.
''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
mount(8)
, but it keeps on giving me an error like, ``/dev/cd0a on /mnt: Incorrect super block.
''