From: Vanger <fa...@gm...> - 2006-04-27 06:45:18
|
I think, alghorythm must be more intelligent. Let's take the whole free space on hdd as A. Then, we have to take the size of maximum install (base + all included packages). Let it be X mbs. But X+1000 is better to use as "minimal" (uncompressed kernel, some additional programs and so on) The swap (Y) must be at first twice as RAM is, but no more then 550 Mbs. Why so? Many people have 512Mbs in their computers and they would like to play with suspend and so on. So we have to have default swap more, then average amount of memory is. The home partition (Z) is to take everything, that left. But not less then 500Mbs. So Z =3D A-X-Y-1000. If there is enough place - it's cool. But what is not? And now the exeptions start. I think, there should be three parameters - "User" (the priority is to get more space on /home), "Developer" (the priority is to /) and "Balanced" (both). The swap space is reduced to 256 and we look on a left free space. Then, if "User" selected, X =3D optimum install (base plus some pacakges+200), Y=3D256. Z =3D A-X-Y. If "Dev" selected, Y=3D256, X =3D (base plus all included packages) + (A-X-Y)/4*3. And Z =3D (A-X-Y)/4. If "Balanced" selected, Y=3D256, X =3D optimum install (base plus some pacakges+200)+ (A-X-Y)/2, Z=3D (A-X-Y)/2 |