The Wiki: https://wiki.freebsd.org/VirtualBox And section 22.3.3 Virtualbox Host DVD/CD Access both indicate that /etc/devfs.conf needs: perm cd* 0600 perm xpt0 0660 perm pass* 0660 However, if the CD/DVD on the host is detected as acd0 then you need: link acd0 cd0 perm acd* 0600 perm xpt0 0660 perm pass* 0660 Also, as noted in another PR, you need to enable ATAPICAM. From the Wiki: Host DVD/CD access atapicam kernel module needs to be loaded via /boot/loader.conf: atapicam_load="YES"
> atapicam kernel module needs to be loaded via /boot/loader.conf: > > atapicam_load="YES Are you sure this makes sense? Using atapicam makes /dev/cd0 available therefore the devfs.conf is good as is. The atapicam reference should be there though. -- Adam Vande More
As I discovered, my DVD/CD was detected as acd0, even with ATAPICAM, much to my surprise. I left the other stuff in as I was not sure of the impact on other parts of the VirtualBox operation. I discovered that VirtualBox apparently looks for cd0, as when I did not have that device it did not display a selection for the host drive. On another note, a couple of other applications appear to insist on /dev/cdrom, so I have the line: link acd0 cdrom in my devfs.conf.
I just checked and then rebooted my system. It appears that loading atapicam will create /dev/cd0, so you can skip the actions with /dev/acd0. I have both /dev/cd0 and /dev/acd0 entries.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped