• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: About partition scheme.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About partition scheme.


  • Subject: Re: About partition scheme.
  • From: Phil Jordan <email@hidden>
  • Date: Wed, 04 Jul 2012 13:45:19 +0200

On Wed, Jul 4, 2012 at 8:14 AM, Li Flost.Dexiong <email@hidden> wrote:
> /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?

"disk 0" is the whole disk that the partition scheme sits inside. Look
at the IOMedia hierarchy in IORegistryExplorer and it'll make more
sense.

> Also, are there any reference about how the "disk1s1" string was generate and record on my system?

The "1" is generated from the location you set on your newly created
IOMedia object like so:
newMedia->setLocation("1");
This only happens if the IOMedia object isn't "whole". If it's whole,
a new diskX node is generated.

HTH
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

  • Follow-Ups:
    • Re: About partition scheme.
      • From: "Li Flost.Dexiong" <email@hidden>
References: 
 >About partition scheme. (From: "Li Flost.Dexiong" <email@hidden>)

  • Prev by Date: Re: problem in using SampleFilterScheme
  • Next by Date: Re: About partition scheme.
  • Previous by thread: Re: About partition scheme.
  • Next by thread: Re: About partition scheme.
  • Index(es):
    • Date
    • Thread