Re: [PATCH 1/9] Allocate fixed-size requests before growable requests.

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

 



On Tue, 2009-11-03 at 14:40 -0500, Chris Lumens wrote:
> > diff --git a/storage/partitioning.py b/storage/partitioning.py
> > index 1e2ee40..09bf27e 100644
> > --- a/storage/partitioning.py
> > +++ b/storage/partitioning.py
> > @@ -412,6 +412,11 @@ def partitionCompare(part1, part2):
> >          else:
> >              ret -= cmp(part1.req_max_size, part2.req_max_size) * 25
> >  
> > +    # give a little bump based on mountpoint
> > +    if hasattr(part1.format, "mountpoint") and \
> > +       hasattr(part2.format, "mountpoint"):
> > +        ret -= cmp(part1.format.mountpoint, part2.format.mountpoint) * 10
> > +
> >      if ret > 0:
> >          ret = 1
> >      elif ret < 0:
> 
> What problem are you running into that this solves?

No problem, really -- it just looks half-assed to me when you specify /
and then /usr given the same specs and /usr ends up as sda2 and / as
sda3.

Dave

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

_______________________________________________
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