Bug 192237
| Summary: | Floating point error when creating partition on dm device | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark McLoughlin <markmc> |
| Component: | parted | Assignee: | Dave Cantrell <dcantrell> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | agk, clausen, dwysocha, mbroz, pjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | parted-1.7.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-09-26 06:49:02 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
Mark McLoughlin
2006-05-18 15:12:16 UTC
man 4 sd says: If the geometry information is not available, zero will be returned for all of the parameters. Just tried the reproducer listed above on rawhide. I don't get the floating point exception. I have parted-1.7.1-15.fc6 in rawhide right now. Can the reporter please try rawhide to verify the problem is gone (or still exists)? Thanks. Right, it's fixed now:
if (!ioctl (arch_specific->fd, HDIO_GETGEO, &geometry)
&& geometry.sectors && geometry.heads) {
|