Function

DADiskMountWithArguments(_:_:_:_:_:_:)

Mounts the volume at the specified disk object, with the specified mount options.

Declaration

func DADiskMountWithArguments(_ disk: DADisk, _ path: CFURL?, _ options: DADiskMountOptions, _ callback: DADiskMountCallback?, _ context: UnsafeMutableRawPointer?, _ arguments: UnsafeMutablePointer<Unmanaged<CFString>>!)

Parameters

disk

The disk object.

path

The mount path. Pass NULL for a "standard" mount path.

options

The mount options.

callback

The callback function to call once the mount completes.

context

The user-defined context parameter to pass to the callback function.

arguments

The null-terminated list of mount options to pass to /sbin/mount -o.

See Also

Miscellaneous

func DADiskGetOptions(DADisk) -> DADiskOptions

Obtains the options for the specified disk.

func DADiskIsClaimed(DADisk) -> Bool

Reports whether or not the disk is claimed.

func DADiskUnclaim(DADisk)

Unclaims the specified disk object.

func DARegisterDiskPeekCallback(DASession, CFDictionary?, CFIndex, DADiskPeekCallback, UnsafeMutableRawPointer?)

Registers a callback function to be called whenever a disk has been probed.