From owner-freebsd-questions Sat Oct 20 11:49:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id 7A51137B43B for ; Sat, 20 Oct 2001 11:49:29 -0700 (PDT) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id f9KInJo11343; Sat, 20 Oct 2001 11:49:19 -0700 (PDT) Date: Sat, 20 Oct 2001 11:49:18 -0700 (PDT) From: David Kirchner X-X-Sender: To: Nathan Mace Cc: freebsd-questions Subject: Re: mounting a ISO image In-Reply-To: <20011020145250.58614318.mace_nathan@uchaswv.edu> Message-ID: <20011020114808.Y85958-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 20 Oct 2001, Nathan Mace wrote: > how can i mount an ISO image to a directory to make sure it's valid? i > see where it says you can use "mount - o loop image.iso directory" but > even as root it says that '-o loop' is not supported. i know i have > done this before under linux, is there not anyway to do it in freebsd? > > please cc the replies to me, thanks > > nathan If you have the pseudo-device 'vn' compiled in to your kernel you can use that driver to mount files. To use: vnconfig /dev/vn0c /path/to/iso/image mount -t cd9660 /dev/vn0c /mount/point To disable: umount /dev/vn0c vnconfig -u /dev/vn0c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message