From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 00:30:56 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF5B41065672 for ; Thu, 17 Sep 2009 00:30:56 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7C18FC1A for ; Thu, 17 Sep 2009 00:30:56 +0000 (UTC) Received: from frylock.local (nmd.sbx05412.santaca.wayport.net [98.97.215.230]) by mail.prgmr.com (Postfix) with ESMTP id C3BBF68B5B for ; Wed, 16 Sep 2009 17:15:15 -0700 (PDT) Message-ID: <4AB17EA5.7090900@prgmr.com> Date: Wed, 16 Sep 2009 17:11:17 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 References: <4AB17409.4000601@gmail.com> In-Reply-To: <4AB17409.4000601@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: Change one file in 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: Thu, 17 Sep 2009 00:30:56 -0000 Bryant Eadon wrote: > Have you tried mounting it as a vnode ? and mounting it R/W ? > > mdconfig -a -t vnode -f file.img > mount -t /dev/md0 /mnt/rw_dvd > > Where may be cd9660 or some other format of the image. > > I haven't seen reported success with this method (checked with various > google searches), but perhaps there's something along these lines *will* > work. Pardon my political incorrectness... If you can't get it to work under FreeBSD, I'm pretty sure that it works under Linux: mount -t iso9660 -o loop file.img /mnt (I'm not sure that "iso9660" is the right filesystem type, but "man mount" will tell you.) Once mounted that way you can use it like any other filesystem. I actually did this once, but it was years ago. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen