From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 20:23:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73AC216A408 for ; Mon, 23 Apr 2007 20:23:28 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp2.utdallas.edu (smtp2.utdallas.edu [129.110.10.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5192213C483 for ; Mon, 23 Apr 2007 20:23:28 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp2.utdallas.edu (Postfix) with ESMTP id E61775C270 for ; Mon, 23 Apr 2007 15:23:27 -0500 (CDT) Date: Mon, 23 Apr 2007 15:23:27 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <3EC8E3B8930912D6CD250E65@utd59514.utdallas.edu> In-Reply-To: <20070423191854.GD49993@glitch.rwxrwxrwx.net> References: <48CA2894022F35F0D83C3AFD@utd59514.utdallas.edu> <20070423191854.GD49993@glitch.rwxrwxrwx.net> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========1B70C16B7F0807363B66==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Mount an iso image? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 20:23:28 -0000 --==========1B70C16B7F0807363B66========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Monday, April 23, 2007 21:18:55 +0200 Martin Tournoij=20 wrote: > On Mon 23 Apr 2007 14:04, Paul Schmehl wrote: >> Is it possible to mount an iso image? I'm not referring to a cd, but a >> single file that has been created using mkisofs. If so, what command >> would you use? mount_cd9660 wants a block device. Do I need to use >> some sort of pseudo block device? >> >> Paul Schmehl (pauls@utdallas.edu) >> Senior Information Security Analyst >> The University of Texas at Dallas >> http://www.utdallas.edu/ir/security/ > > To mount a iso image: > mdconfig -at nvode -f MYIMAGE.ISO > mount_cd9960 /dev/md0 /somewhere > > If you want to mount multiple ISO images then you will have to > use md1, md2, ect. > > Don't forget to unmount and detach the memory disk: > umount /somewhere > mdconfig -ud 0 > > 0 should be replaced with the appropiate device number > > Note that this will only mount standard iso images (iso9660, usually > .iso or .bin), if you want to mount Nero/Alcohol/PowerISO/ect images > then you must first convert them, iat is a great tool for doing this: > Ports collection: sysutils/iat > Website: http://iat.berlios.de/ > Thanks. That's what I was looking for. I wasn't trying to create an iso.=20 I wanted to see what was inside one without burning a CD first. That works = perfectly. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========1B70C16B7F0807363B66==========--