Extracting an img file
Roland Smith
rsmith at xs4all.nl
Sat Feb 26 09:04:45 GMT 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050226/ccfe3026/attachment.bin
More information about the freebsd-questions
mailing list