From owner-freebsd-stable Sat Dec 21 13:13:20 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 1708F37B401 for ; Sat, 21 Dec 2002 13:13:19 -0800 (PST) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id A339243EE5 for ; Sat, 21 Dec 2002 13:13:18 -0800 (PST) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (failways.internal [10.236.150.2]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 0B80E380 for ; Sat, 21 Dec 2002 22:29:03 +0100 (CET) Date: Sat, 21 Dec 2002 22:13:10 +0100 (CET) From: dalroi@solfertje.student.utwente.nl Reply-To: Alban Hertroys Subject: Writing to ISO-images mounted as vnodes? To: stable@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: <20021221212903.0B80E380@solfertje.student.utwente.nl> 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 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). Is this possible? Related, I think it would be nice if mkisofs could be run without any input-files a la: "mkisofs -o cd.iso" making an empty iso-image. This way (-If- an iso-file can grow) it would be quite easy to make iso-images by just copying files to a vnode. Kind of like some Windows CD-burn utilities do this... I think it would be a nice alternative to the usual way. It may even be welcomed by the 'desktop environments', allowing them to have a mount-point to copy files to, to burn them on CD-RW. Any input? -- Alban Hertroys http://solfertje.student.utwente.nl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AD&D: You fall from the cliff. The ground attacks you. It missed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message