From owner-freebsd-stable Sun Dec 22 4:11: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0085637B401 for ; Sun, 22 Dec 2002 04:10:59 -0800 (PST) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E679243EDA for ; Sun, 22 Dec 2002 04:10:52 -0800 (PST) (envelope-from home@jukkis.net) Received: from d1o989.telia.com (d1o989.telia.com [213.65.228.241]) by mailb.telia.com (8.12.5/8.12.5) with ESMTP id gBMCApih002751; Sun, 22 Dec 2002 13:10:51 +0100 (CET) X-Original-Recipient: stable@FreeBSD.ORG Received: from sjukebox.js.serverbox.org (h152n2fls32o989.telia.com [217.208.125.152]) by d1o989.telia.com (8.10.2/8.10.1) with ESMTP id gBMCAoK19041; Sun, 22 Dec 2002 13:10:50 +0100 (CET) Subject: Re: Writing to ISO-images mounted as vnodes? From: Jukka Simila To: dalroi@solfertje.student.utwente.nl Cc: Edwin Groothuis , stable@FreeBSD.ORG In-Reply-To: <20021221220646.GW930@k7.mavetju> References: <20021221212903.0B80E380@solfertje.student.utwente.nl> <20021221220646.GW930@k7.mavetju> Content-Type: text/plain Organization: Jukkis.net Message-Id: <1040559116.380.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 22 Dec 2002 13:11:56 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2002-12-21 at 23:06, Edwin Groothuis wrote: > On Sat, Dec 21, 2002 at 10:13:10PM +0100, dalroi@solfertje.student.utwente.nl wrote: > > While I was thinking how to make a bootable DOS-CD (the floppies for > > sale now just aren't as reliable as they used to be), I thought of the > > following strategy: > > > > - copy the ISO-image of my Win98 install-CD (AFAIK that's legal if you > > own the CD). > > - configure the image as a vnode (vnconfig). > > - mount the vnode (mount_cd9660). > > - remove the files that are not needed (the ones that install Win98) > > from the mounted vnode; just leaving a DOS boot-CD with just a little > > more useful utilities than would fit on a floppy... > > > > Unfortunately, mounting the vnode as cd9660 mounts it read-only, and > > I couldn't find a way to mount it "rw" (-o rw doesn't seem to help). > > I was thinking about something similair a couple of weeks ago, to > make it easy for me to arrange files on a cdrom ISO image. Unfortunatly > the write-routines for the cd9660 driver are non-existent. > > Did sound nice, just create a 650Mb file, mount it, copy some files > into it, unmount it and ready to burn. > > Edwin What about the UDF support for FBSD? I really don't know what's the status of that, but somehow I'd think it would be more sensible to create an udf file instead of cd9660 - if I've understood correctly, udf should support packet *writing* - therefore the random writing to a file should be possible in some phase, right? Just an idea that popped into my mind - someone else will need to polish it :) Regards //Jukkis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message