On Linux[edit]

Mount:

mount -o loop -t iso9660 <isofile> <destination>

Unmount:

umount <destination>

On FreeBSD[edit]

Unlike Linux, you will need to create a memory disk using the CD image before you can mount it by using the mdconfig -a command.

Mount:

mdconfig -a -f <isofile> md0
mount -t cd9660 /dev/md0 <destination>

Unmount:

umount <destination>
mdconfig -d -u md0