Re: About partition scheme.
Re: About partition scheme.
- Subject: Re: About partition scheme.
- From: "Li Flost.Dexiong" <email@hidden>
- Date: Wed, 04 Jul 2012 14:18:48 +0800
more information about my class and my test.
I add some log on the read function of my class.
and notice that if i do some read on disk1s1, my read function will be called.
if i do some read on disks1, my read function will not be called.
my read operations like this:(using terminal)
#dd if=/dev/disk1s1 of=/dev/null bs=4096 count=256
this will result my read function be called.
If i do
#dd if=/dev/disk1 of=/dev/null bs=4096 count=256
my read will not be called.
在 2012-7-4,下午2:14, Li Flost.Dexiong 写道:
>
> These days I implement a class based on IOPartitionScheme,
> my child_media init with an content hint of "new_testdisk";
> and use "new_testdisk" to set the childmedia name,
>
> when I insert my disk, and my class was probed, and could start normally,
>
> but when I use "diskutil list" in a terminal, it shown as below:
>
> /dev/disk0
> #: TYPE NAME SIZE IDENTIFIER
> 0: GUID_partition_scheme *160.0 GB disk0
> 1: EFI 209.7 MB disk0s1
> 2: Apple_HFS Macintosh HD 159.7 GB disk0s2
> /dev/disk1
> #: TYPE NAME SIZE IDENTIFIER
> 0: *16.1 GB disk1
> 1: new_testdisk 16.1 GB disk1s1
>
>
> I'm wandering why there is a #0 on my disk, when and how does it create?
> Also, are there any reference about how the "disk1s1" string was generate and record on my system?
>
>
> Thanks.
>
>
> Best regards,
> Flost.D.Li
> email@hidden
>
>
>
Best regards,
Flost.D.Li
email@hidden
_______________________________________________
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