Date: Fri, 18 May 2001 10:52:34 +0300 From: Giorgos Keramidas <keramidi@otenet.gr> To: Georgi Tyuliev <tyuliev@bas.bg> Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: mount -o loop ... Message-ID: <20010518105234.A2798@hades.hell.gr> 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 %2B0300 References: <5.0.2.1.0.20010518103232.009f8370@argo.bas.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010518105234.A2798>