> maybe writing the config file after each unused change ? that sound clumsy. >or keep an array of > unusedx in memory and pass it to add_unused_volume ? yes, that sounds more reasonable. Note: I've got the flu, so I will not write much code the next days :-/ - Dietmar