Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 864815 Details for
Bug 1065522
openlmi partition delete fails to delete a partition created my openlmi partition create
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch to update parted partition refs after processing actions
0010-Update-parted-partitions-when-updating-parted-disks..patch (text/plain), 1.03 KB, created by
David Lehman
on 2014-02-18 21:53:54 UTC
(
hide
)
Description:
proposed patch to update parted partition refs after processing actions
Filename:
MIME Type:
Creator:
David Lehman
Created:
2014-02-18 21:53:54 UTC
Size:
1.03 KB
patch
obsolete
>From 6cf99259b12e62aed401dccf5a0324901ee63bd8 Mon Sep 17 00:00:00 2001 >From: David Lehman <dlehman@redhat.com> >Date: Tue, 18 Feb 2014 14:48:21 -0600 >Subject: [PATCH 10/10] Update parted partitions when updating parted disks. > (#1065522) > >--- > blivet/devicetree.py | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/blivet/devicetree.py b/blivet/devicetree.py >index b21654b..8c2daf6 100644 >--- a/blivet/devicetree.py >+++ b/blivet/devicetree.py >@@ -284,6 +284,12 @@ class DeviceTree(object): > for disk in (d for d in self.devices if d.partitioned): > disk.originalFormat = copy.deepcopy(disk.format) > >+ # now we have to update the parted partitions of all devices so they >+ # match the parted disks we just updated >+ for partition in self.getDevicesByInstance(PartitionDevice): >+ pdisk = partition.disk.format.partedDisk >+ partition.partedPartition = pdisk.getPartitionByPath(partition.path) >+ > def _addDevice(self, newdev): > """ Add a device to the tree. > >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1065522
:
864063
|
864065
|
864815
|
865164