So I am writing a python script that is attempting to use UDisk to mount and unmount devices. I'm using something like this:
disk_dev_func = dbus.Interface(self.device_obj, "org.freedesktop.UDisks.Device") disk_dev_func.FilesystemUnmount('') disk_dev_func.FilesystemMount()
So the unmount works just fine, my question, however is how to get the last line (mount) to work. I want to know what arguments I need to mount a device READ ONLY and I cannot for the life of me find any adequate examples of how to do this.