From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 22:11:12 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 313D416A4CE for ; Thu, 4 Nov 2004 22:11:12 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097BC43D45 for ; Thu, 4 Nov 2004 22:11:12 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 16853 invoked from network); 4 Nov 2004 22:11:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Nov 2004 22:11:11 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1CC1669; Thu, 4 Nov 2004 17:11:10 -0500 (EST) Sender: lowell@be-well.ilk.org To: Murray Taylor References: <1099458220.64462.9.camel@wstaylorm.dand06.au.bytecraft.au.com> From: Lowell Gilbert Date: 04 Nov 2004 17:11:10 -0500 In-Reply-To: <1099458220.64462.9.camel@wstaylorm.dand06.au.bytecraft.au.com> Message-ID: <44ekj99se9.fsf@be-well.ilk.org> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: question: how do I burn a UFS filesystem onto a CDROM 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: Thu, 04 Nov 2004 22:11:12 -0000 Murray Taylor writes: > I wish to burn a CDROM that I can mount and show > people that "yes there really is readable data on it" > BUT I dont want it to be readable in a windows host. > > So I am thinking that instead of the usual mkisofs routine that > makes a cd9660 filestructure I would just burn a CDROM with > the data in a UFS structure... > > NB the actual cd burner is in a winblows laptop so I am > also thinking that I need to create an .iso image somehow > that I can burn in one pass on the burner pc, even though the > disk will not be accessible to that host once burnt. > > The question is : how ? > > I'm guessing that a way may be to create a vnode file system, > copy the data to it and then somehow make it into a burnable > disk image, but thats where the guessing runs out..... That's just about right. The trick is that if you use a file-backed vn(4) device to build your UFS disk image, the backing file *is* the image that you want to burn to cdrom. [It's not an ISO file -- by definition, "ISO" files are ISO9660 format.] I was meaning to try it to give an exact recipe, but I haven't gotten around to it yet.