Subject: misc/18629: New entry for General FAQ
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: netbsd-bugs
Date: 10/12/2002 12:19:23
>Number: 18629
>Category: misc
>Synopsis: New entry for General FAQ
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Oct 12 03:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.6I
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar.local 1.6I NetBSD 1.6I (DARKSTAR) #4: Tue Oct 8 12:48:01 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
I've added a new entry to the General FAQ, called `Mounting an
ISO image', to the `Other questions' section. Although, it may also
be placed inside `Using removable media', but I'm not sure.
This question is often asked by Linux users, you know... who do not
find the loopback filesystem.
>How-To-Repeat:
>Fix:
Apply the patch and regen the .html file:
Index: index.list
===================================================================
RCS file: /cvsroot/htdocs/Documentation/misc/index.list,v
retrieving revision 1.79
diff -u -u -r1.79 index.list
--- index.list 2002/08/22 19:34:05 1.79
+++ index.list 2002/10/12 10:12:04
@@ -1541,6 +1541,42 @@
See the ccd(4) and ccdconfig(8) manpages for more information.
+<ENTRY>vnconfig Mounting an ISO image
+
+Sometimes, it is interesting to mount an ISO9660 image file before you
+burn the CD; this way, you can examine its contents or even copy files
+to the outside. If you are a Linux user, you should know that this is
+done with the special <i>loop</i> filesystem. NetBSD does it another
+way, using the <i>vnode</i> pseudo-disk.
+<p>
+
+We will illustrate how to do this with an example. Suppose you have an
+ISO image in your home directory, called <tt>mycd.iso</tt>:
+
+<ol>
+ <li>Start by setting up a new vnode, "pointing" to the ISO file:
+ <p>
+ <tt><b># vnconfig -c vnd0 ~/mycd.iso</b></tt>
+ <li>Now, mount the vnode:
+ <p>
+ <tt><b># mount -t cd9660 /dev/vnd0c /mnt</b></tt>
+ <li>Yeah, image contents appear under <tt>/mnt</tt>! Go to that
+ directory and explore the image.
+ <li>When you are happy, you have to umount the image:
+ <p>
+ <tt><b># umount /mnt</b></tt>
+ <li>And at last, deconfigure the vnode:
+ <p>
+ <tt><b># vnconfig -u vnd0</b></tt>
+</ol>
+
+<p>
+Note that these steps can also be used for any kind of file that
+contains a filesystem, not just ISO images.
+
+<p>
+See the vnd(4) and vnconfig(8) manpages for more information.
+
</LIST>
<DOCLINK>
>Release-Note:
>Audit-Trail:
>Unformatted: