exporting a single file/track on disc as an entire filesystem
exporting a single file/track on disc as an entire filesystem
- Subject: exporting a single file/track on disc as an entire filesystem
- From: Eric Ocean <email@hidden>
- Date: Sat, 26 Mar 2005 20:02:03 -0800
Hopefully the subject is not too misleading...
I would like to burn a CD-R or DVD-R conventionally (normal TOC and
filesystem for format). The content_hint property will be set so that
my filter scheme matches and loads. On the disc, I would like to
include a file containing a complete file system (not a Mac OS X disk
image, since it needs to be mountable by Windows as well) that I will
then export from my filter scheme to the rest of IOKit so that it is
treated (eventually) as a file system that mounts in the Finder.
First, do I just export an IOMedia object (what kind?) and set the
content hint to <help me out here>? Obviously I can translate the read
calls appropriately in my filter scheme to the underlying
locations/track on the IOCDMedia or IODVDMedia object.
Second, will this prevent the original IOMedia object's file system
(9660 or UDF) from showing up in the Finder? I want to hide that file
system, if possible, and I'm hoping this will accomplish that.
Third, do I need to do anything special when I create this file? Any
voodoo I need to be aware of?
What I'm concerned about is the fact that it's on CD-R or DVD-R since
there are special parts of the disc (TOC comes to mind) that I don't
want people to try and read, since they're no longer meaningful. That
makes me not want to export an IO[CD|DVD]Media object.
Is it possible to do what I want? Is there a better way to accomplish
this given the optical format's built in capabilities? The main
constraint is that the file containing the file system I'm "exporting"
should be readable (as raw data) if my filter scheme isn't present
using the disc's normal filesystem.
I'm intending on having the file entirely on it's own track, so that I
can find the beginning of it from the TOC alone, without having to
interpret the disc's filesystem. Is there anything there I need to
watch out for here? A better approach I should be using?
I'm finally getting towards the end of the up-front research for my
filter scheme. I think this is the last major stone to turn... Thanks
to everyone who has offered help/advice in the past.
Best, Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden