From owner-freebsd-questions Tue Apr 25 19:31:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ocs.drexel.edu (mail.irt.drexel.edu [129.25.3.58]) by hub.freebsd.org (Postfix) with ESMTP id B6C2337B55F for ; Tue, 25 Apr 2000 19:31:28 -0700 (PDT) (envelope-from st96yb9t@drexel.edu) Received: from [192.168.0.2] (adsl-151-197-17-59.bellatlantic.net) by mail.ocs.drexel.edu (Sun Internet Mail Server sims.3.5.1999.03.02.17.58.p5) with ESMTP id <0FTL00K4BR0BMG@mail.ocs.drexel.edu> for freebsd-questions@freebsd.org; Tue, 25 Apr 2000 22:31:25 -0400 (EDT) Date: Tue, 25 Apr 2000 22:34:20 -0400 From: Yoshihiro Ota Subject: Re: mounting an iso-image? In-reply-to: To: "Christian Wendell C. Gueco" Cc: freebsd-questions@freebsd.org Message-id: <0FTL00K4CR0CMG@mail.ocs.drexel.edu> MIME-version: 1.0 X-Mailer: Macintosh Eudora Pro Version 3.1.1-Jr1 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 9:48 AM +0800 4/26/00, Christian Wendell C. Gueco wrote: > Hello, > > I just would like to know how to mount an iso-image (*.iso) in a > FreeBSD 3.4 such that I can view its contents before burning it. I know > this can be done in linux using a loop option but what is its > corresponding command in FreeBSD? > > TIA, > > Christian You have to recompile the kernel with "pseudo-device vn" option. See LINT. Then, make vn devices, such as #cd /dev; ./MAKEDEV vn0; To mount, #vnconfig /dev/vn0 image.iso; #mount -t cd9660 -o ro /dev/vn0 /cdrom To unmount, #umount /cdrom #vnconfig -u /dev/vn0 Hiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message