After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589555 - moving a swap partition needlessly copies all "data" on it
moving a swap partition needlessly copies all "data" on it
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
GIT HEAD
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2009-07-23 23:18 UTC by Jan Claeys
Modified: 2010-10-29 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Claeys 2009-07-23 23:18:41 UTC
From https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/401228

"""
When moving a swap partition, gparted copies all the data from the old place to the new one. This is absolutely unneccessary ;-)
"""
Comment 1 Curtis Gedak 2009-07-24 00:22:27 UTC
This problem has been confirmed with GParted 0.4.5-git.
Comment 2 Curtis Gedak 2010-10-19 19:48:12 UTC
Enhancements to address this bug report have been committed to the git repository for inclusion in the next release of GParted (0.7.0).

The relevant git commits can be viewed at the following links:

Skip copy action because linux-swap does not contain data
http://git.gnome.org/browse/gparted/commit/?id=42dafa2e6a1147a10acbe5f4179500fd10686105

Add virtual move method to FileSystem class
http://git.gnome.org/browse/gparted/commit/?id=ca30f986f79eb97939176e24f6775cc6daed3c1a

Skip move action because linux-swap contains no data (#589555)
http://git.gnome.org/browse/gparted/commit/?id=232800d6cdd811390e4d901d127cf478b7d1999b
Comment 3 Curtis Gedak 2010-10-19 20:04:23 UTC
Hi Jan,

I have attempted a solution to this problem twice in the past, but it wasn't until last night that I had a eureka moment and knew just what to do.

It's amazing what the subconscious can do, even after more than a year from first looking into this problem.  :-)
Comment 4 Curtis Gedak 2010-10-29 16:30:56 UTC
The enhancements to address this bug report have been included in GParted 0.7.0
which was released on October 29, 2010.

Closing this bug report.