Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144233 - less invasive partition manipulation
Summary: less invasive partition manipulation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-17 12:15 UTC by Andrew Gaffney (RETIRED)
Modified: 2007-03-03 18:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2006-08-17 12:15:05 UTC
The partitioning code is so invasive right now because libparted doesn't provide a way to preserve disk order with the partition numbers. Since the partitioning code in the installer can now handle partition layouts that are out of disk order, preserving disk order is no longer that big of a concern. This means, I can rework the partitioning code to only touch partitions that are being modified in some way (deleted, resized, or reformatted).

I can even make it so that it only touches 1 partition at a time (except for the case of resizing an existing partition into the space of an existing partition that will be deleted).

This will make the partitioning code a *lot* safer. The worst that can happen is you will lose a single partition, and that would only be a partition that was supposed to be touched in the first place.
Comment 1 Preston Cody (RETIRED) gentoo-dev 2007-03-03 18:15:57 UTC
yea for overhauls!
this has been addressed in the new branch of the installer.