Re: About partition scheme.
Re: About partition scheme.
- Subject: Re: About partition scheme.
- From: Flost Li <email@hidden>
- Date: Mon, 09 Jul 2012 11:05:09 +0800
2012/7/6 Phil Jordan
<email@hidden>
On Thu, Jul 5, 2012 at 4:25 AM,
Flost.D.Li <
email@hidden> wrote:
>> The driver matches on the special partition type with the GUID, in
>> this case, disk2s2, and creates a "whole" IOMedia object, in this case
>> disk3.
>
> [Flost] so the disk3 was generated by disk2s2.
The provider for my driver is the IOMedia for disk2s2 (it actually can
and usually does have more than one provider, but that's irrelevant
here), and the IOMedia nub my driver generates is disk3.
> Can you control the inter activation with disk2s2?
What do you mean by that?
[Flost]: consider that if i would like to use disk2s2 to do some encrypt read/write. In your example, if the client operate with disk3, than you could encrypt/decrypt the data read/written, but if some read/write through disk2s2, it could only get the raw data,
Isn't it?
What I'd like to do is that I should make sure that people could not read/write through disk2s2, than no one could read the raw data.
You can do most things that you can do with user-space gdb. You might
also want to look at all the macros in kgmacros. Some of those are
extremely useful.
If you want to force your code to break to the debugger (e.g. in your
own replacement for assert()), use
__asm__("int $3");
(at least on i386/x86-64)
phil
_______________________________________________
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