On Sat, Feb 26, 2005 at 04:32:03PM +1000, Warren wrote:

> How do i extract the contents of an img file so i can view // empty
> the contents out?  without burning due to it being a 3.1gig img file
> and i got no DVD Burner.
You mean an ISO9660 image? Use an md(4) device. See �16.12.2 of the handbook.

First create a file-backed md device:

# mdconfig -a -t vnode -f diskimage -u 0

Then you mount it somewhere:

# mount -t cd9660 /dev/md0 /mnt

When you are done with it, unmount the filesystem and then detach the md
device:

# umount /mnt
# mdconfig -d -u 0

-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards

Attachment: pgp8MieBq7z6d.pgp
Description: PGP signature

Reply via email to