Author: Jim Salter
Date: 14-12-03 00:02
vnconfig is no longer used in 5.x. To mount an image under FreeBSD 5.x, you'll need to do something like this:
ph34r# mdconfig -a -t vnode -f /path/to/image.iso -u 1
ph34r# mount -t cd9660 /dev/md1 /mnt/cdrom
note that -u 1 matches up with /dev/md1. If you needed to mount more than one device this way, you would use -u x with /dev/mdx as appropriate.
To dismount the ISO and destroy the virtual device (thus allowing you to do things like write to the ISO file), you would issue the following:
ph34r# mount -u /mnt/cdrom
ph34r# mdconfig -d -u 1
Hope that helps some folks...
|
|