Problem with mounting CD-ROM

Hello,
I just installed FreeBSD 9 on VMware Workstation and I have a problem with mounting an IDE CD-ROM.

This is happening when I'm trying to mount it:
Code:
freebsd# mkdir /cdrom
freebsd# mount /dev/cd0 /cdrom
[B]mount: /dev/cd0 : Invalid argument[/B]

My /dev:
Code:
freebsd# cd /dev
freebsd# ls
acpi            cuau0.lock      led             stderr          ttyva
ad3             cuau1           log             stdin           ttyvb
ad3p1           cuau1.init      lpt0            stdout          ttyvc
ad3p2           cuau1.lock      lpt0.ctl        sysmouse        ttyvd
ad3p3           dcons           mdctl           ttyu0           ttyve
ada0            devctl          mem             ttyu0.init      ttyvf
ada0p1          devstat         midistat        ttyu0.lock      ugen0.1
ada0p2          dgdb            mixer0          ttyu1           ugen0.2
ada0p3          fd              mpt0            ttyu1.init      ugen0.3
atkbd0          fd0             nfslock         ttyu1.lock      ugen1.1
audit           fido            null            ttyv0           uhid0
bpf             geom.ctl        pass0           ttyv1           ums0
bpf0            gptid           pass1           ttyv2           urandom
bpsm0           io              pci             ttyv3           usb
[b]cd0[/b]             iso9660         ppi0            ttyv4           usbctl
console         kbd0            psm0            ttyv5           xpt0
consolectl      kbd1            ptmx            ttyv6           zero
ctty            kbdmux0         pts             ttyv7
cuau0           klog            random          ttyv8
cuau0.init      kmem            sndstat         ttyv9

My /etc/fstab:
Code:
freebsd# cat /etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/ada0p2     /               ufs     rw      1       1
/dev/ada0p3     none            swap    sw      0       0
 
Maybe it will help someone, audio CDs don't have to be mounted in order to be played. I was getting the same error. Passing the file system argument wasn't helping. But when I opened VLC and selected to play from /dev/cd0 it played the music without issues.
 
Back
Top