Comment 0 for bug 415488

Revision history for this message
Rorschach (r0rschach) wrote :

Binary package hint: partman-auto

There is a misleading error-message in partman-auto. When you choose an expert-recipe and the available diskspace is smaller than what you have configured in the recipe you get such an error-message:

"Expert recipe too large (24012 > 21000); skipping"

Well the first thing I thought after reading this message was that my recipe is too large. The recipe can be provided in one logical line and I thought that line and thus my recipe would be too large... Just because I couldn't fix this error from happening after shortening my recipe and taking a look at the sourcecode I realized what this message is really trying to tell me.

What this error-message really wants to tell someone is that your available diskspace is too small to satisfy the choosen recipe.

I think such a message would be better:

Available diskspace (21000) is too small for the planned partitioning (24012); skipping"

Patch is attached.