Skip site navigation (1)Skip section navigation (2)
Date:      04 Nov 2004 17:11:10 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Murray Taylor <murraytaylor@bytecraftsystems.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: question: how do I burn a UFS filesystem onto a CDROM
Message-ID:  <44ekj99se9.fsf@be-well.ilk.org>
In-Reply-To: <1099458220.64462.9.camel@wstaylorm.dand06.au.bytecraft.au.com>
References:  <1099458220.64462.9.camel@wstaylorm.dand06.au.bytecraft.au.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Murray Taylor <murraytaylor@bytecraftsystems.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ekj99se9.fsf>