File:  [NetBSD Developer Wiki] / wikisrc / tutorials / how_to_mount_iso_images_via_loopback.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Feb 5 07:14:36 2012 UTC (2 years, 2 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
dos2unix

**Contents**

[[!toc]]

#Introduction

NetBSD lets you mount ISO images using the [vnd(4)](http://netbsd.gw.com/cgi-bin/man-cgi?vnd+4+NetBSD-current) disk driver.
The vnd driver provides a disk-like interface to a file.


#Mounting the Image

    # vnconfig vnd0 v7x86-0.8a.iso                      
    # mount -t cd9660 /dev/vnd0a /mnt
    # cd /mnt
    # ls
    COPYRIGHT        README           boot.cat         v7x86-0.8a.tar   version
    INSTALL          RELNOTES         boot.img         v7x86intro.pdf

#Unmounting the Image

    # umount /mnt
    # vnconfig -u vnd0

#Additional Information

* [vnd(4)](http://netbsd.gw.com/cgi-bin/man-cgi?vnd+4+NetBSD-current) Manpage
* [vnconfig(8)](http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig+8+NetBSD-current) Manpage
* [mount(8)](http://netbsd.gw.com/cgi-bin/man-cgi?mount+8+NetBSD-current) Manpage
* [umount(8)](http://netbsd.gw.com/cgi-bin/man-cgi?umount+8+NetBSD-current) Manpage 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb