Unmounts and ejects the device at the specified path.
- macOS 10.0+
The path to the device.
YES if the device was unmounted; otherwise,
unmount is preferable because it provides more detailed error information.
It is safe to call this method from any thread of your app.