Re: [PATCH pyparted]: Make the constraint argument for add_partition and maximize_partition optional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 03/24/2009 09:47 PM, David Lehman wrote:
On Tue, 2009-03-24 at 20:17 +0100, Hans de Goede wrote:
---
   src/parted/disk.py |   16 ++++++++++++----
   src/pydisk.c       |   26 ++++++++++++++++----------
   2 files changed, 28 insertions(+), 14 deletions(-)

I think we will have the cylinder-alignment issue anytime a partition
has a max size, either explicitly or because of a filesystem limit,
since this forces us to pass a constraint to maximizePartition.


True, suck. Well we could only grow partitions without any max size limit,
that would catch the most common automated partitioning case. And, well, if
people give size constraints they shouldn't be surprised if we do not use the
whole disk. Although we could end up not using the whole disk when they have
given size constraints which are way bigger then the disk.

Or we could just live with the cylinder-alignment. We've always been doing
cylinder aligned partitioning in the old code AFAIK.

Regards,

Hans

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux