<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DiskArbitration",
  "identifier" : "/documentation/DiskArbitration/DADiskCreateFromVolumePath(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Disk Arbitration"
    ],
    "preciseIdentifier" : "c:@F@DADiskCreateFromVolumePath"
  },
  "title" : "DADiskCreateFromVolumePath(_:_:_:)"
}
-->

# DADiskCreateFromVolumePath(_:_:_:)

Creates a new disk object.

```
func DADiskCreateFromVolumePath(_ allocator: CFAllocator?, _ session: DASession, _ path: CFURL) -> DADisk?
```

## Parameters

`allocator`

The allocator object to be used to allocate memory.

`session`

The DASession in which to contact Disk Arbitration.

`path`

The BSD mount point.

## Return Value

A reference to a new DADisk.

## Discussion

The caller of this function receives a reference to the returned object. The caller also implicitly retains the object and is responsible for releasing it with CFRelease().

---

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)