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

Bug#510544: Installer/partition guide tried to use 500GB as swap

On Sunday 11 January 2009, Ferenc Wagner wrote:
> Yes, at above 4 TB in kB based (LVM/crypto) calculation and above 4 EB
> in the MB based case.  I wonder what would be the overhead

I'm not going to worry about 4TB support at this point.

> >> I think it would be more logical to specify unlimited as 0 or -1. Or
> >> even some string like "none".
> >
> > A patch to change this turns out to be fairly trivial. Comments?
> > Successfully tested for both regular and LVM partitioning (though not
> > with >1TB disk).
> Tested with 1.6 TB atomic, and it works OK.


Otavio: OK if I upload with my patches?
I'm more comfortable with this patch than with Ferenc's one, although that 
does still look OK to me for Squeeze.

> (note that you can use -a and -o for logical operations inside expr or
> [ ]). 

We try to avoid -a and -o in D-I scripts because of POSIX issues and in 
most cases they reduce readability.

Reply to: