Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 172248

Summary: sys-apps/parted-1.8.2 -s option not acting like previous versions
Product: Gentoo Linux Reporter: John Stile <john>
Component: Current packagesAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bensberg
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-548620-highlight-.html
Whiteboard:
Package list:
Runtime testing required: ---

Description John Stile 2007-03-25 23:09:25 UTC
parted-1.8.2 not doing the right thing....

The following commands silently create formated partitions with parted-1.7.1-r1, which I can simply mount.

parted -s /dev/hdc "mklabel msdos mkpart primary 0 380 mkpart primary 380 420 mkpart primary 420 -0 "
parted -s -- /dev/hdc set 1 boot on
parted -s /dev/hdc mkfs 1 ext2
parted -s /dev/hdc mkfs 2 ext2
parted -s /dev/hdc mkfs 3 ext2

When I updated to parted-1.8.2, I get the following message for each command, and no partitions are formated, so I can't mount them:

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

The -s options should make things work without prompting the user.

Reproducible: Always

Steps to Reproduce:
run any parted command with -s option.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-03-26 11:40:08 UTC
That's definitely an upstream issue. Please send an email to bug-parted@gnu.org detailing the problem. Make sure to include the version you're using and any other information that may help them track down the problem.