Posted over 6 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

Copy
# 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!).

Copy
# 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:

Copy
# mdconfig -d -u X

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

Owner of this card:

Avatar
jan0sch
Last edit:
over 6 years ago
Posted by jan0sch to jan0sch's deck
This website uses cookies to improve usability and analyze traffic.
Accept or learn more