[Parted-maintainers] Bug#380226: NTFS (partition) not recreated correctly after resize: incorrect start sector

Bas Zoetekouw bas at debian.org
Fri Dec 15 22:16:20 UTC 2006


Hi Otavio!

You wrote:

> > So IMO this should be fixed by somehow restricting the parition aligning
> > to the ending sector only, and not have libparted and _partition_align()
> > touch the begin sector of the partition at all, if the partition is
> > being resized.  In the case that a new partition is created, everything
> > should stay as it is, and both beginning and ending sector should be
> > aligned.
> 
> Well, partially you're right.
> 
> The problem here is how to decide if we should or not align it. That's
> the most difficult question...

If the partition is merely being resized, the begin sector should
_never_ be changed, I think. 

-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas at debian.org             |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 




More information about the Parted-maintainers mailing list