I'm not sure exactly what's going on here but as you mentioned it could be due to RAID (which I know very little about). The debug script is showing that a device can't be found for the '/tmp' folder, although it is found ok for '/'.
Some information about how I am locating the device from the path:
I first find the `os.minor` and `os.major` for the file path. Then I iterate through udisks devices and match these against the 'DeviceMinor' and 'DeviceMajor' properties. If no matches are found you get the DeviceNotFoundError.
Perhaps the major and minor for RAID partitions behave differently to normal partitions?
I'm not sure exactly what's going on here but as you mentioned it could be due to RAID (which I know very little about). The debug script is showing that a device can't be found for the '/tmp' folder, although it is found ok for '/'.
Some information about how I am locating the device from the path:
I first find the `os.minor` and `os.major` for the file path. Then I iterate through udisks devices and match these against the 'DeviceMinor' and 'DeviceMajor' properties. If no matches are found you get the DeviceNotFoundE rror.
Perhaps the major and minor for RAID partitions behave differently to normal partitions?