I tried my luck:
dbus-send --system --print-reply \ --dest=org.freedesktop.UDisks \ /org/freedesktop/UIDisks/devices/md0 \ org.freedesktop.DBus.Properties.GetAll \ string:""
You have a typo in the path of the object: instead of UDisks you put UIDisks . A fix that should fix your mistake.
Turning to your comment on this answer about getting all the properties at once, the D-Bus specification does not indicate that GetAll should accept an empty string for its interface_name argument, therefore its error if any services accept this. Instead, you should call GetAll once for each of the object's interfaces.
The easiest way to do this is to use a higher-level D-Bus utility, such as gdbus or D-Feet (as you tried). dbus-send designed for simple, low-level communication with D-Bus services.
$ gdbus introspect --system --dest org.freedesktop.UDisks2 --object-path /org/freedesktop/UDisks2/block_devices/sda1 --only-properties node /org/freedesktop/UDisks2/block_devices/sda1 { interface org.freedesktop.UDisks2.Partition { properties: readonly u Number = 1; β¦ }; interface org.freedesktop.UDisks2.Filesystem { properties: readonly aay MountPoints = [b'/boot/efi']; }; β¦ }
source share