how to mount iso and disk images in freebsd

mdconfig -a -t vnode -f /path/to/image.iso -u 1
mount -t cd9660 /dev/md1 /mnt

when done, do:

umount /mnt
mdconfig -d -u 1