Mounting ISO Images Under FreeBSD

Posted January 16, 2004 by Michilimackinac in FreeBSD

This command is useful for mounting ISO images under FreeBSD.
You must have the vnode driver in your kernel or loaded as a module.


Check for vn driver with “kldstat -v” command:


% kldstat -v | grep vn
8 vn
%

Configure vnode disk:


% vnconfig -v /dev/vn0c image.iso

Mount the virtual disk:


% mount -r -t cd9660 /dev/vn0c /mnt

Access/Check what you need. Then unmount the disk:


% umount /mnt

Clear the vnode disk:


% vnconfig -u -v /dev/vn0c

The Conversation

Follow the reactions below and share your own thoughts.