From owner-freebsd-stable Sun Dec 22 8:35:45 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 5B01037B401 for ; Sun, 22 Dec 2002 08:35:43 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE30943ED8 for ; Sun, 22 Dec 2002 08:35:42 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id gBMGVqj28052; Sun, 22 Dec 2002 08:31:52 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA22641; Sun, 22 Dec 2002 08:31:46 -0800 (PST) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id JAA01148; Sun, 22 Dec 2002 09:31:41 -0700 (MST) Message-ID: <3E05E9EF.5050503@btc.adaptec.com> Date: Sun, 22 Dec 2002 09:35:59 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021125 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jukka Simila Cc: dalroi@solfertje.student.utwente.nl, Edwin Groothuis , stable@freebsd.org Subject: Re: Writing to ISO-images mounted as vnodes? References: <20021221212903.0B80E380@solfertje.student.utwente.nl> <20021221220646.GW930@k7.mavetju> <1040559116.380.10.camel@localhost> In-Reply-To: <20021221212903.0B80E380@solfertje.student.utwente.nl> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Jukka Simila wrote: > 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 UDF read-only support exists in 5.0. I haven't had the time to work on write support though. Anyways, a UDF filesystem probably wouldn't work for what the original poster wants. You would need a real-mode UDF driver for DOS which might be hard to find. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message