Bug 357363 - occupied space value for swap shows total free space.
Summary: occupied space value for swap shows total free space.
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.2.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-31 10:16 UTC by Andreas Schöppach
Modified: 2016-02-21 19:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot of partitionmanager (77.91 KB, image/png)
2015-12-31 10:16 UTC, Andreas Schöppach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schöppach 2015-12-31 10:16:21 UTC
Created attachment 96374 [details]
screenshot of partitionmanager

Two bugs:
zram entries and wrong occupied value for swap space. 
See screenshot.
Comment 1 Andrius Štikonas 2016-02-21 19:02:20 UTC
Looks like this has nothing to do with zram. Swap does not have mountpoint, so it looks like KDiskFreeSpaceInfo class from KIO just returns total free space of harddrive.
Comment 2 Andrius Štikonas 2016-02-21 19:24:29 UTC
Git commit 227c77e8018f2abda3f2cea235003ce0a705322a by Andrius Štikonas.
Committed on 21/02/2016 at 19:22.
Pushed by stikonas into branch 'master'.

Do not report free space for swap partitions.

Swap partitions have no mount path so KDiskFreeSpaceInfo shows
total free disk space available.

M  +1    -1    src/plugins/libparted/libpartedbackend.cpp

http://commits.kde.org/kpmcore/227c77e8018f2abda3f2cea235003ce0a705322a