This man page has the following section:
udisksctl unmount {--object-path OBJECT | --block-device DEVICE}
What is an OBJECT? I tried to give it a path (i.e. media/tim/name
) but it doesn't accept that.
What do I need to tell it?
This man page has the following section:
udisksctl unmount {--object-path OBJECT | --block-device DEVICE}
What is an OBJECT? I tried to give it a path (i.e. media/tim/name
) but it doesn't accept that.
What do I need to tell it?
UDisks2 uses D-Bus "objects". These are essentially paths to data structures.
Here's how the manual puts it:
The process that owns the well-known D-Bus name org.freedesktop.UDisks2 on the system bus (typically udisksd) exports an object at the well-known path
/org/freedesktop/UDisks2
. This object implements the org.freedesktop.DBus.ObjectManager interface and should be used by clients to discover other objects.