Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 1999 03:24:36 -0700 (PDT)
From:      Donald Burr <dburr@pobox.com>
To:        "Jason L. Schwab" <jschwab@royal.net>
Cc:        questions@FreeBSD.ORG, ghandi@mindless.com
Subject:   RE: image files.
Message-ID:  <XFMail.990602032436.dburr@pobox.com>
In-Reply-To: <Pine.BSF.4.05.9906012042050.1043-100000@fkr.dynip.com>

next in thread | previous in thread | raw e-mail | index | archive | help
A long time ago in a galaxy far, far away (actually, it was on 02-Jun-99),
the great prophet Jason L. Schwab once wrote:
> People,
> 
>       Is it possible to mount a ISO9660 image file in freebsd?
> i can make the image with mkisofs, but can I mount it to check it out?

Yes.  Use the vnode driver.  Read vn(4) for more detail, but basically:

cd /sys/i386/conf
cp GENERIC MYKERNEL (or use your current kernel config file)
add "pseudo-device vn 4" to it
recompile and install new kernel, reboot
cd /dev && ./MAKEDEV vn0
vnconfig -c /dev/vn0c /path/to/your/iso9660/image/file
mkdir /mnt
mount -t cd9660 /dev/vn0c /mnt
cd /mnt
...do whatever it is you want to do here...
umount /dev/vn0c
vnconfig -u /dev/vn0c
---
Donald Burr <dburr@pobox.com>                           | PGP: Your
*NEW* WWW HomePage: http://more.at/dburr/ ICQ #16997506 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.


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?XFMail.990602032436.dburr>