Artificial intelligent assistant

Unable to detach a USB device on Ubuntu 14.04 I was using `udisks` to _unmount_ and _detach_ USB devices with following commands which work just fine on Ubuntu 10.04: udisks --unmount /dev/sdb1 udisks --detach /dev/sdb Because `udisks` is not available in Ubuntu 14.04, I was trying to use `udisksctl`. It works for `unmount`: udisksctl unmount --block-device /dev/sdb1 But when I use `udiskctl` or `umount` to **detach** the device as: udiskctl power-off -p /dev/sdb or umount -p /dev/sdb it gives following error: (udisksctl unmount:17787): GLib-GIO-CRITICAL **: g_dbus_object_manager_get_object: assertion 'g_variant_is_object_path (object_path)' failed How can I detach device in Ubuntu 14.04 with other existing commands if any?

The problem may be that you are telling the path to the device instead of the path to the block device.

Try the next command:


udiskctl power-off -b /dev/sdb


With `-b` you are specifying the path to the device.

Source: <

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 6e9632da6cc3b65a7f8fc69ccf9715f2