Big refactorisation of the partition_params() and set() functions.
Authored by: bugman 2008-01-18
Parent: [r4853]
Child: [r4855]