[libvirt] [PATCH] Ensure parted doesn't prompt if labeling disk

Cole Robinson crobinso at redhat.com
Mon Aug 11 13:53:48 UTC 2008


Daniel P. Berrange wrote:
> On Sun, Aug 10, 2008 at 10:40:30PM -0400, Cole Robinson wrote:
>> Trying to 'build' a disk pool uses 'parted mklabel' which can
>> prompt for confirmation. Patch adds the '--script' option to
>> remove the chance of this happening.
> 
> Can you double-check this works on RHEL-5 - IIRC, the --script arg is
> a fairly recent addition to parted.
> 

My 5.2 box has it. The --script option is also used elsewhere in the
disk code, so I assume it's safe.

Thanks,
Cole




More information about the libvir-list mailing list