<!--
{
  "documentType" : "article",
  "framework" : "DiskArbitration",
  "identifier" : "/documentation/DiskArbitration/dadisk-h",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "DADisk.h"
}
-->

# DADisk.h

## Overview

See the Overview section above for header-level documentation.

## Overview

### Included Headers

- <CoreFoundation/CoreFoundation.h>
- <IOKit/IOKitLib.h>
- <DiskArbitration/DASession.h>

## Topics

### Miscellaneous

[`func DADiskCopyDescription(DADisk) -> CFDictionary?`](/documentation/DiskArbitration/DADiskCopyDescription(_:))

Obtains the Disk Arbitration description of the specified disk.

[`func DADiskCopyIOMedia(DADisk) -> io_service_t`](/documentation/DiskArbitration/DADiskCopyIOMedia(_:))

Obtains the I/O Kit media object for the specified disk.

[`func DADiskCopyWholeDisk(DADisk) -> DADisk?`](/documentation/DiskArbitration/DADiskCopyWholeDisk(_:))

Obtain the associated whole disk object for the specified disk.

[`func DADiskCreateFromBSDName(CFAllocator?, DASession, UnsafePointer<CChar>) -> DADisk?`](/documentation/DiskArbitration/DADiskCreateFromBSDName(_:_:_:))

Creates a new disk object.

[`func DADiskCreateFromIOMedia(CFAllocator?, DASession, io_service_t) -> DADisk?`](/documentation/DiskArbitration/DADiskCreateFromIOMedia(_:_:_:))

Creates a new disk object.

[`func DADiskCreateFromVolumePath(CFAllocator?, DASession, CFURL) -> DADisk?`](/documentation/DiskArbitration/DADiskCreateFromVolumePath(_:_:_:))

Creates a new disk object.

[`func DADiskGetBSDName(DADisk) -> UnsafePointer<CChar>?`](/documentation/DiskArbitration/DADiskGetBSDName(_:))

Obtains the BSD device name for the specified disk.

[`func DADiskGetTypeID() -> CFTypeID`](/documentation/DiskArbitration/DADiskGetTypeID())

Returns the type identifier of all DADisk instances.

### Data Types

[`class DADisk`](/documentation/DiskArbitration/DADisk)

Type of a reference to DADisk instances.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)