From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 19:44:57 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 640E716A402 for ; Mon, 23 Apr 2007 19:44:57 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (carpetsmoker.xs4all.nl [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id 25A3C13C44B for ; Mon, 23 Apr 2007 19:44:57 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id 0FDD96D461; Mon, 23 Apr 2007 21:44:11 +0200 (CEST) Date: Mon, 23 Apr 2007 21:44:10 +0200 From: Martin Tournoij To: freebsd-questions@freebsd.org Message-ID: <20070423194410.GA50136@glitch.rwxrwxrwx.net> References: <48CA2894022F35F0D83C3AFD@utd59514.utdallas.edu> <20070423191854.GD49993@glitch.rwxrwxrwx.net> <20070423203640.21c494c7@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070423203640.21c494c7@gumby.homeunix.com> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: pauls@utdallas.edu 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 19:44:57 -0000 On Mon 23 Apr 2007 20:04, RW wrote: > On Mon, 23 Apr 2007 21:18:55 +0200 > Martin Tournoij 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 > > > > I notice no-one is recommending it be mounted read-only. Is it implicit > for cd9960, or can an iso be modified this way? cd9660 can only mount read-only: $ mount_cd9660 -o rw /dev/md0 /mnt/md0/ $ mount | grep cd9660 $ dev/md0 on /mnt/md0 (cd9660, local, read-only) Note that I made a typing error in my previous email, 'nvode' should be 'vnode' --Martin