Library for managing partitions. Common code for KDE Partition Manager and other projects. https://www.kde.org/applications/system/kdepartitionmanager/
Go to file
Andrius Štikonas 20bb8eba7e Get btrfs used capacity from btrfs filesystem show --raw
It's output looks like:

Label: 'test'  uuid: d23f3138-c8ea-449e-9155-015ce4f6e2e6
        Total devices 1 FS bytes used 131072
        devid    1 size 981467136 used 252706816 path /dev/sdb1

FS bytes used number is actual data on btrfs volume. However,
to resize successfully we need to know actual space used by data
and metadata. That's why we read size from devid (i.e. 252706816).

Btrfs volumes can span over multiple devices, so we must make sure
that we are reading devid corresponding to the correct device node.

BUG: 353333
2016-02-18 13:39:09 +00:00
cmake/modules Move kpmcore library into its own repository. 2015-06-04 01:29:22 +01:00
src Get btrfs used capacity from btrfs filesystem show --raw 2016-02-18 13:39:09 +00:00
CMakeLists.txt Never force installation in the system prefix when it's not needed 2016-01-31 14:45:34 +00:00
COPYING.GPL3 Move kpmcore library into its own repository. 2015-06-04 01:29:22 +01:00
INSTALL Update INSTALL instructions: 2015-06-11 12:28:27 +01:00
KPMcoreConfig.cmake.in Teach cmake config to find kpmcore include dir. 2016-01-11 23:51:28 +00:00