[parted-devel] [PATCH v3 2/2] parted: Fix resizepart and rm command

Phil Susi psusi at ubuntu.com
Mon Nov 13 17:36:50 UTC 2017


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20171113/f96a94dd/attachment.sig>


More information about the parted-devel mailing list