Don't wanna be here? Send us removal request.
Text
Mount an img file on PCBSD
mdconfig -a -t vnode -f /path/to/image.img -u 0
The image will now be connected to the virtual device /dev/md0 Now mount the virtual device. In this example I use an image with the ext2 file system, so I enter the following command:
Code:
mount -t ext2fs /dev/md0 /mnt
You can now see the contents of the image in /mnt. To unmount the image, enter these two commands:
Code:
umount /mnt mdconfig -d -u 0
0 notes