FreeBSD mount iso

Mount FreeBSD iso image (or any other iso, on freebsd machine).

[bash]
mdconfig -a -t vnode -f /patg/to/FreeBSD-9.0-RELEASE-i386-disc1.iso  -u 1

#mkdir -p /mnt/cdrom

mount -t cd9660 /dev/md1 /mnt/cdrom/
[/bash]
To unmount
[bash]
umount /mnt/cdrom/

mdconfig -d -u 1
[/bash]

Leave a comment

Your email address will not be published. Required fields are marked *