Limit the swap size when fill all available space is selected
On Fri, 2012-02-17 at 14:34 +0100, Vratislav Podzimek wrote:
> Resolves: rhbz#744129
This is one of the things where we swing back and forth every time
someone files a bug. I am 99.9% positive we have changed stances on this
matter at least once in the past. Let's be certain we reach a consensus
on the correct behavior instead of assuming that someone complaining
about it makes it a real bug.
User A: I had 5TB left on my disk and I made a swap partition with "grow
to maximum allowable size" and I got a 5TB swap partition! This is bad!
Fix it!
User B: I had 1GB RAM and had 2.2GB left on my disk and, wishing to
create a swap partition to consume the remainder of my free space, I
created a swap partition and marked it as "grow to maximum allowable
size". Now I see that I have ~200MB of wasted space. I told the
installer to use the rest of the space, so why did it not do that? How
annoying.
My opinion, given only the preceding scenarios, is that User A is
suffering from operator error, while User B has a valid complaint. This
patch will make us betray competent User B in favor of placating
misguided User A.