Unmounts and ejects the device at the specified path.
- macOS 10.0+
The path to the device.
true if the system unmounted the device; otherwise,
unmount method because it provides more detailed error information.
You can safely call this method from any thread of your app.