Summary: | Partition Manager seems to show swap partition is using more than its size | ||
---|---|---|---|
Product: | [Applications] partitionmanager | Reporter: | Marco Parillo <marco_parillo> |
Component: | general | Assignee: | Andrius Štikonas <andrius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | http://imgur.com/a/8ay0g | ||
Latest Commit: | http://commits.kde.org/kpmcore/5ab60c6dfadd5cf2e941d0105ff598092031f9b5 | Version Fixed In: | |
Attachments: |
Screenshot of Partition Manager
Screenshot from GParted from a live USB Screenshot of Partion Manager from Kubuntu Live USB |
Description
Marco Parillo
2016-08-18 00:33:47 UTC
Created attachment 100651 [details]
Screenshot of Partition Manager
*** Bug 367474 has been marked as a duplicate of this bug. *** Created attachment 100652 [details]
Screenshot from GParted from a live USB
Created attachment 100653 [details]
Screenshot of Partion Manager from Kubuntu Live USB
We don't really have code to read swap usage. I guess one way to fix this bug is to add that code, e.g. check /proc/swaps like GParted does. The other is to simply do not report swap usage (since it is not really relevant for resizing, you can't resize active swap partition and inactive does not have any used space), but I guess the first option is nicer. Git commit 5ab60c6dfadd5cf2e941d0105ff598092031f9b5 by Andrius Štikonas. Committed on 29/08/2016 at 11:12. Pushed by stikonas into branch 'master'. Enable used space reporting for swap. M +5 -0 src/core/lvmdevice.cpp M +26 -5 src/fs/linuxswap.cpp M +5 -0 src/fs/linuxswap.h M +4 -0 src/plugins/libparted/libpartedbackend.cpp http://commits.kde.org/kpmcore/5ab60c6dfadd5cf2e941d0105ff598092031f9b5 |