Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2001 11:49:18 -0700 (PDT)
From:      David Kirchner <davidk@accretivetg.com>
To:        Nathan Mace <mace_nathan@uchaswv.edu>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: mounting a ISO image
Message-ID:  <20011020114808.Y85958-100000@localhost>
In-Reply-To: <20011020145250.58614318.mace_nathan@uchaswv.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011020114808.Y85958-100000>