From owner-freebsd-questions Fri May 18 0:52:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 0DD7B37B423 for ; Fri, 18 May 2001 00:52:39 -0700 (PDT) (envelope-from keramidi@otenet.gr) Received: from hades.hell.gr (patr530-b005.otenet.gr [195.167.121.133]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f4I7qYt10207; Fri, 18 May 2001 10:52:35 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.3/8.11.3) id f4I7qZf02927; Fri, 18 May 2001 10:52:35 +0300 (EEST) (envelope-from keramidi@otenet.gr) Date: Fri, 18 May 2001 10:52:34 +0300 From: Giorgos Keramidas To: Georgi Tyuliev Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: mount -o loop ... Message-ID: <20010518105234.A2798@hades.hell.gr> References: <5.0.2.1.0.20010518103232.009f8370@argo.bas.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010518103232.009f8370@argo.bas.bg>; from tyuliev@bas.bg on Fri, May 18, 2001 at 10:34:11AM +0300 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG On Fri, May 18, 2001 at 10:34:11AM +0300, Georgi Tyuliev wrote: > 1. When I download an iso file, for example 4.3-install.iso, it is > > very simple in Linux to mount this file with a command like this: > > "mount -o loop 4.3-install.iso /opt" and you will se the > > installation CD. Is it possible to do this in FreeBSD? You want to read the manpage of vnconfig(8). A short crash-course in vnconfig usage would be: 1. Compile your kernel with support for Vnodes, adding the following to your kernel config. # Include support for Vnodes. pseudo-device vn 2. Configure a vnode device to map to the image you want to mount. # vnconfig -c /dev/vn0c /path/to/your/image 3. Mount the Vnode you configured: # mount -t FSTYPE /dev/vn0c /mnt Then, after unmounting the vnode later, you should disable and unconfigure the Vnode by running: # vnconfig -u /dev/vn0c For more options, and other parameters, see the manpage of vnconfig(8). --giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message