From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 06:31:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F2E016A4CE for ; Tue, 27 Jan 2004 06:31:40 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C9743D5D for ; Tue, 27 Jan 2004 06:31:38 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (sccrmhc12) with ESMTP id <20040127143137012003oltre>; Tue, 27 Jan 2004 14:31:37 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 80709F; Tue, 27 Jan 2004 09:31:37 -0500 (EST) Sender: lowell@be-well.ilk.org To: Daniela References: <200401252213.09805.dgw@liwest.at> From: Lowell Gilbert Date: 27 Jan 2004 09:31:37 -0500 In-Reply-To: <200401252213.09805.dgw@liwest.at> Message-ID: <44d695ihti.fsf@be-well.ilk.org> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: Mounting ISO r/w X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 14:31:40 -0000 Daniela writes: > I need information how to either mount an ISO image r/w or find out what > options I must give to mkisofs to recreate it. > I have to add and remove some files from the tree, but all other things should > stay as they are. I tried vnconfig, but I can't get that thing to mount r/w. ISO9660 isn't intended to be a fully read-write format. You can replace files with later versions by adding them to the end of a multi-session image, but that doesn't actually remove the original from the earlier session. Occasionally I will do things like this by copying the files out of the image, modifying the filesystem, and writing them back to a new image, but that technique doesn't automatically give me the same set of options on the 9660 filesystem. Typically, I don't care -- I want to use a specific new set of options anyway -- but it's not quite what you asked for. In theory, it would be possible to do this, but it would be very inefficient. It would require making a new ISO image with every modification. Good luck.