tps.device.BlockDeivce.get_tails_boot_device() fails with Error when starting from ISO/DVD
for implementing #5856 (closed) I need to get the device name/path of the root device to actually detect I/O failures on this device, so I use tps.device.BlockDeivce.get_tails_boot_device()
but this fails with a NoUdisksPartitionObjectError
tps/device.py#L127. With the correct device name in the error description /dev/sr0
. That means it already correctly knows the boot device, but fails because it is ISO/DVD with no partition table.
Btw. block.props.device` is the value I'm interested in.