bruns created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. bruns requested review of this revision.
REVISION SUMMARY UDisks2 added a "Size" property for the Filesystem interface, which may be zero, denoting an unknown value: http://storaged.org/doc/udisks2-api/2.7.6/gdbus-org.freedesktop.UDisks2.Filesystem.html #gdbus-property-org-freedesktop-UDisks2-Filesystem.Size For e.g. Ext4, the property matches the Size from Partition and Block, while for FAT and BTRFS 0 is returned. TEST PLAN make solid-hardware5 list details REPOSITORY R245 Solid BRANCH invalid_fs_size REVISION DETAIL https://phabricator.kde.org/D12125 AFFECTED FILES src/solid/devices/backends/udisks2/udisksdevicebackend.cpp To: bruns Cc: #frameworks, michaelh, ngraham, bruns