On 11/13/2017 12:06 PM, Sebastian Parschauer wrote: > Then it is not really visible in a log any more that it has been ignored > that the partition is busy. I'm against this. Rather an untranslated > message than a confusing one.
No; of course you get the message still. It's just that if in script mode, no input is read and PED_EXCEPTION_UNHANDLED is returned. >> Also it looks like this means that even an interactive user will never >> be asked if they meant to resize a busy partition. On the one hand, why >> bother printing the warning at all then? And on the other, shouldn't we >> still be asking the interactive user if they really meant to do this? > > You've answered yourself here why your proposal has side effects. > My patch does that correctly. I'm not sure if I understand you correctly. Your patch makes the warning print, but not wait for user input when resizing a busy partition. That is undesirable. > Are you also fine with "--ignore-busy"? Sure.
signature.asc
Description: OpenPGP digital signature

