Posted over 7 years ago. Visible to the public.

Mounting ISO images under FreeBSD

To mount an iso image under FreeBSD just follow these steps.

Create a loop-back device with mdconfig

# mdconfig -a -t vnode -f PATH_TO_YOUR_ISO/ISOFILE.iso

Mount the create vnode to a folder (Replace /dev/mdX with your device node!).

# mount -t cd9660 /dev/mdX /cdrom

The md device is automatically created by mdconfig and the name is printed after the command has been executed e.g. md0 or md1.
After you have unmounted the directory you can destroy the md-device with the following command:

# mdconfig -d -u X

X is the device number e.g. 0 or 1 and so forth.

Owner of this card:

Last edit:
over 7 years ago
Posted by jan0sch to jan0sch's deck
This website uses short-lived cookies to improve usability.
Accept or learn more