Description of problem: Previously when parted was run with --script it took the script and did it without asking the user. With the recent version (parted-1.8.1-1.fc5) even when --script is given when a mklabel command is given it asks the user to confirm. This breaks scripts that don't expect to feed confirmations to parted. Version-Release number of selected component (if applicable): parted-1.8.1-1.fc5 How reproducible: Always Steps to Reproduce: 1. Put a compact flash into a USB based CF reader/writer 2. Run: FLASH_DEV=/dev/sdc # Partition sizes on the compact flash (in megabytes) BOOT_PART_SIZE=16 ROOT_PART_SIZE=72 echo "Creating partitions" sudo parted --script ${FLASH_DEV} \ mklabel msdos \ mkpart primary ext2 0.0 ${BOOT_PART_SIZE}.0 \ mkpart primary ext2 ${BOOT_PART_SIZE} `expr \${BOOT_PART_SIZE} + \${ROOT_PART_SIZE}` \ set 1 boot on And rather than the script running (like it used to do) it now emits: Warning: The existing disk label on /dev/sdc will be destroyed and all data on this disk will be lost. Do you want to continue? Actual results: Disk partioning fails. Expected results: Successful disk partitioning. Additional info: I reverted back to parted-1.6.25-8 and my scripts started working again. I also saw some hints that the new parted update contained some strange, different (perhaps wrong) geometry information when dealing with compact flash devices.
This should be working in Fedora development now ("rawhide").