From owner-freebsd-questions Wed Jun 2 3:24:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from control.colossus.dynip.com (pm2-25.sba1.avtel.net [207.71.218.125]) by hub.freebsd.org (Postfix) with ESMTP id 539D614F8B for ; Wed, 2 Jun 1999 03:24:42 -0700 (PDT) (envelope-from dburr@control.colossus.dynip.com) Received: (from dburr@localhost) by control.colossus.dynip.com (8.9.3/8.9.2) id DAA01363; Wed, 2 Jun 1999 03:24:36 -0700 (PDT) (envelope-from dburr) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 02 Jun 1999 03:24:36 -0700 (PDT) Organization: Computer Help From: Donald Burr To: "Jason L. Schwab" Subject: RE: image files. Cc: questions@FreeBSD.ORG, ghandi@mindless.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 | 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