Bug 224681
Summary: | "parted --script <dev> mklabel msdos" no longer works | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Nick Dokos <nicholas.dokos> |
Component: | parted | Assignee: | David Cantrell <dcantrell> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.0 | CC: | dchapman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-13 21:19:50 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
Nick Dokos
2007-01-26 23:54:52 UTC
Checked latest RHEL 5.1 test builds and the --script option is now working as expected (i.e., it won't prompt you). I used your two test commands: parted --script <dev> mklabel msdos parted --script <dev> mkpart 0 -1 The mklabel one works fine, but the mkpart one is actually invalid. It lacks the partition type. Also, you can't specify -1 as the ending point. So I used: parted --script <dev> mkpart primary 0 1 And that worked. Closing as nextrelease since this will be fixed in RHEL 5.1. How do you specify that the partition is to take up the whole disk? That's what I used the -1 for: if I cannot use that, is there another way? Also, do you have a version number for the package that I should get to try it out? Thanks! |