Global Variable

NSFileManagerUnmountDissentingProcessIdentifierErrorKey

The process identifier of the process that prevented a volume from unmounting.

Declaration

NSString *const NSFileManagerUnmountDissentingProcessIdentifierErrorKey;

Discussion

If unmountVolumeAtURL:options:completionHandler: fails, the error sent to its completion handler will contain a userInfo dictionary with this string as one of its keys. The value is the process identifier of the process that prevented the unmounting, as an NSNumber.

See Also

Unmounting Volumes

- unmountVolumeAtURL:options:completionHandler:

Starts the process of unmounting the specified volume.

NSFileManagerUnmountOptions

Options that specify the behavior of an unmount operation.