[parted-devel] Resize removal

Phillip Susi psusi at cfl.rr.com
Tue Dec 6 16:10:11 UTC 2011


On 12/6/2011 7:25 AM, Petr Uzel wrote:
>> I have renamed your resize command to "resizepart".  This allows it
>> to be back ported to older versions of parted, and helps to avoid
>> mixup with the old command.  I have added a new stub "resize"
>> command to make sure that any old scripts still trying to call it
>> get an error explaining that it was removed instead of accidentally
>> running the new resizepart command.
>
> Good idea ->  ACK

I think I just came up with one better.  When in batch mode, have the 
resize command throw the error to stop any old scripts.  When 
interactive, just forward to resizepart.



More information about the parted-devel mailing list