diff options
author | David Lehman <dlehman@redhat.com> | 2009-02-27 12:21:10 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-02-27 12:21:10 -0600 |
commit | a728c1eb81bc2a2c87353df342e68e649055d6f5 (patch) | |
tree | 3d9c7d6d7aedb4ce94c6999581c44107a5331005 /installclass.py | |
parent | 8ac4e853c782d440141c14b58b7fa752b552a3e5 (diff) | |
download | anaconda-a728c1eb81bc2a2c87353df342e68e649055d6f5.tar.gz anaconda-a728c1eb81bc2a2c87353df342e68e649055d6f5.tar.xz anaconda-a728c1eb81bc2a2c87353df342e68e649055d6f5.zip |
Various changes to Device classes, esp. PartitionDevice.
- Fix some imports.
- Move setup methods to after setting
self.exists to True in create methods. Doh!
- Generally prepend an underscore to names of
methods that are intended only for use as
property getter/setter.
- Don't call getFormat when initially defining
StorageDevice._format since later in __init__
we will set it via the format property, which
will call getFormat.
- Create currentSize property to get actual size
of a device, regardless of pending changes.
- Modify size property to reflect pending
changes to size.
- Pass device's existence to base format ctor in
_setFormat.
- Add a commit method to DiskDevice to commit
pending changes.
- Use name instead of device in PartitionDevice
ctor like we do in all the others.
- Lots of little fixes to access of
parted.Partition data.
- Add methods to wrap parted.Partition flag ops.
- Add some flag setting to PartitionDevice.create
- Use lvs property in LVMVolumeGroupDevice's
status method/property since it gets called
from the ctor before we've set up lvNames.
Diffstat (limited to 'installclass.py')
0 files changed, 0 insertions, 0 deletions