On 3/18/20 2:12 AM, Christoph Hellwig wrote: > Historically we only set the capacity to zero for devices that support > partitions (independ of actually having partitions created). Doing that > is rather inconsistent, but changing it broke legacy udisks polling for > legacy ide-cdrom devices. Use the crude a crude check for devices that > either are non-removable or partitionable to get the sane behavior for > most device while not breaking userspace for this particular setup. Applied, thanks. -- Jens Axboe