ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference

 


IOPartitionScheme.h

Include Path:

<IOKit/storage/IOPartitionScheme.h>

Path:

/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/storage/IOPartitionScheme.h

Includes:

Overview

This header contains the IOPartitionScheme class definition. The IOPartitionScheme class is the common base class for all partition schemes.

For more information on partition schemes, see Writing Drivers for Mass Storage Devices.



Classes

IOPartitionScheme

The common base class for all partition scheme objects.



#defines


kIOMediaLiveKey


A property of IOMedia objects.

#define kIOMediaLiveKey "Live" 
Discussion

The kIOMediaLiveKey property has an OSBoolean value and is placed into an IOMedia instance created via the partition scheme. It describes whether the partition is live, that is, it is up-to-date with respect to the on-disk partition table.


kIOMediaPartitionIDKey


A property of IOMedia objects.

#define kIOMediaPartitionIDKey "Partition ID" 
Discussion

The kIOMediaPartitionIDKey property has an OSNumber value and is placed into an IOMedia instance created via the partition scheme. It is an ID that differentiates one partition from the other (within a given scheme). It is typically an index into the on-disk partition table.


kIOPartitionSchemeClass


The name of the IOPartitionScheme class.

#define kIOPartitionSchemeClass "IOPartitionScheme" 
Discussion

kIOPartitionSchemeClass is the name of the IOPartitionScheme class.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2009-02-23