Bug 426160

Summary: parted --script fails to mkpart
Product: [Fedora] Fedora Reporter: Pete Wyckoff <pw>
Component: partedAssignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-06 00:38:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete Wyckoff 2007-12-18 22:06:39 UTC
Description of problem:

parted --script /dev/sda mklabel dos

warns

Warning: The existing disk label on /dev/sda will be destroyed and all data on
this disk will be lost. Do you want to continue?

then exits without modifying the disk.  Running without --script
and answering Yes to the prompt succeeds.

Version-Release number of selected component (if applicable):

parted-1.8.6-10.fc8.x86_64

How reproducible: every time

Expected --script to do what I say without asking.

Comment 1 David Cantrell 2008-02-06 00:38:24 UTC
This works now in rawhide (parted-1.8.8).