summaryrefslogtreecommitdiffstats
path: root/iw
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle format combo box not existing (#495288)David Cantrell2009-04-131-1/+1
| | | | We may not have formatcb in all cases, don't assume it exists.
* A volume group device has a "peSize" attribute (not "pesize").David Lehman2009-04-131-1/+1
|
* Remove uncommitted new lv from dict on cancel.David Lehman2009-04-131-0/+2
|
* Use the correct value when setting new extent size. (#493753)David Lehman2009-04-131-1/+1
|
* Clean up the code in editLogicalVolume function.Joel Granados Moreno2009-04-101-78/+137
| | | | | | Separate the logic from the actual constructing of the gtk stuff is very helpful when trying to debug, develop these files. This commit doesn't actually change any behavior in the file.
* Aesthetic changes to "editLogicalVolume" function.Joel Granados Moreno2009-04-101-76/+74
| | | | | Mainly lines running for more that 80 characters. The use of tabs instead of spaces and spaces after the line has ended.
* Fix display of format type for devices.David Lehman2009-04-093-4/+4
| | | | | | | | | When re-editing a new device, the fstype combo was not getting set to the current format type because of confusion caused by the use of format name in some places and format type in others. The only thing we use the name attribute for is displaying in the fstype combo. For everything else we use the type attribute.
* partedUtils doesn't exist anymoreJeremy Katz2009-04-081-1/+0
| | | | | This at least gets to the partitioning screen; didn't finish an install, but it's closer
* Use getDeviceNodeName() instead of basename of device node.Hans de Goede2009-04-081-1/+2
| | | | Missed this one in my initial cciss prep patch.
* Raise message, not exception when size set in LV dialog is too big.Radek Vykydal2009-04-071-1/+13
|
* Remove some old, unused code that also uses biosGeometry.Chris Lumens2009-04-061-14/+4
|
* For very small disks, don't try to display a stripe in the graph (#480484).Chris Lumens2009-04-061-0/+6
|
* Try to handle devices which live in a subdir of /dev properlyHans de Goede2009-04-062-4/+2
| | | | | | This hopefully fixes cciss (will test once an anaconda with this in has hit rawhide, so I can use rhts to test). This is the second version of this patch, this time it also does the / -> ! translation for sysfs names.
* Present the correct max lv size in the dialog.David Lehman2009-04-021-1/+1
|
* Make the disk model an attribute of DiskDevice.David Lehman2009-04-022-3/+2
|
* Fix format check box for pre-existing partitions (#491675)David Cantrell2009-04-022-59/+105
| | | | | | When performing a custom partitioning layout, make the Format check mark column work correctly depending on what you enter in the Edit Partition dialog box. Also register and cancel storage actions as necessary.
* Fix some pylint warnings in iw/*.pyHans de Goede2009-03-313-24/+15
|
* Reference the format by type, not name.(#492596)Joel Granados Moreno2009-03-311-1/+1
|
* Assign weights to partition requests when doing manual or kickstart installs.Chris Lumens2009-03-301-1/+9
|
* Fix problem with format and migrate combo box activation.David Cantrell2009-03-301-2/+2
| | | | | | | | The format checkbox enables the combo box listing filesystems. Likewise, the migrate checkbox enables the combo box listing filesystems you can migrate to. The two choices are mutually exclusive. We only want one combo box active at a time. Without this patch, box combo boxes would become active if either checkbox was checked.
* Correct bounds checking problems in 'Shrink current system'David Cantrell2009-03-301-14/+12
| | | | | | | | | | | | | | | | The 'Shrink current system' dialog had some bounds checking problems. Users could enter a size that was too small or too large. Renamed the function and related controls to use 'shrink' instead of 'resize' in the name to better reflect what the code does. Use the format's size to set the bounds rather than the partition's. Since we are shrinking here, we only want to let users select a size smaller than the current format size. A size smaller than the minimum will automatically be set to the correct minimum. Likewise, a size larger than the maximum will automatically be set to the correct maximum.
* Fix pylint errors in iw/*.pyHans de Goede2009-03-253-2/+7
|
* Do not flag every existing partition for resize (#491803)David Cantrell2009-03-241-1/+3
| | | | | | Check the resizable property as well as targetSize not being zero (indicates no new targetSize has been set) and finally compare targetSize to currentSize.
* Remove unused noformatCB() function.David Cantrell2009-03-241-9/+1
|
* Remove unnecessary istruefalse() function.David Cantrell2009-03-241-7/+2
|
* Add EFI, Apple Bootstrap, and PPC PReP Boot formats.David Lehman2009-03-232-2/+2
|
* If the new size and old size are the same, treat as a no-op (#491496).Chris Lumens2009-03-231-3/+7
| | | | | There's no sense raising a traceback if the user just chose the same size as the filesystem already is.
* Fix traceback when editing encrypted mdraid device in UI.Radek Vykydal2009-03-201-4/+5
| | | | Also correct some references to self.origrequest.
* Handle system crappyness.Joel Granados Moreno2009-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | * storage/__init__.py (createSuggestedVGName): Take into account the new lvm black list. * storage/devicelibs/lvm.py (blacklistVG): New function, add a VG to a the black list. * storage/devicelibs/lvm.py (vgreduce): introduces a new argument to the function. rm means use the lvm --removemissing option. * storage/devices.py (LVMVolumeGroupDevice.complete): New function to evaluate if VG is consistent. * storage/devices.py (LVMLogicalVolumeDevice.complete): Likewise for LVs. * storage/devicetree.py (_handleInconsistencies): New function intended to catch all unwanted behavior from the system before continuing. * storage/devicetree.py (questionReinitILVM): New function intended to ask the user what to do in case we find inconsistent LVM metadata.
* Fix New partition in UIRadek Vykydal2009-03-191-1/+2
| | | | | | Pass format to new partition (request) so that it doesn't have to create DeviceFormat instance which tracebacks with: http://fpaste.org/paste/6475
* Rework the lvm dialog. (#490301,#490966,#490681,#489870)David Lehman2009-03-191-224/+377
| | | | | | | | | | I opted to maintain the lv information in a simple dict which we convert to a temporary vg/lv instance set when we need to. There is no trampling on objects, and the code is just simpler. The big difference is that we have to go through and figure out what all was done at the very end, right before returning to the partition gui. So far, it is considerably more stable than the previous implementation was.
* Destroy and create luks child of raid array too when editing in UI.Radek Vykydal2009-03-181-10/+14
|
* Editing non-existent raid device by destroying and creating actionsRadek Vykydal2009-03-181-36/+43
|
* actionDestroyFormat call takes device, not formatRadek Vykydal2009-03-181-2/+2
|
* Fix getChildren call in partition UIRadek Vykydal2009-03-181-1/+1
|
* Do not duplicate requested minor number in edit raid UI list.Radek Vykydal2009-03-181-1/+1
|
* Offer available partitions when editing non-preexisting raid request.Radek Vykydal2009-03-181-1/+1
|
* Do not create a LUKSDevice if we do not have a way to map the device.David Lehman2009-03-163-19/+56
| | | | | | | | If the user elects not to provide a passphrase or key, do not create a LUKSDevice. We will just keep the backing device with its luks format. This saves us the trouble of checking whether we have the ability to set up each LUKSDevice since we only have LUKSDevice instances for those we can set up.
* Fix creation of fs options for preexisting encrypted devices.David Lehman2009-03-164-19/+27
| | | | | | | Previously we just passed in the device on which we would be creating the filesystem, but that doesn't make it easy to know if we initially plan to format the device or if the device is encrypted.
* Fix lots of buggy behavior in the partition dialog.David Lehman2009-03-161-12/+23
| | | | | | | | | | | | Re-editing new partitions was generating a new request instead of modifying the original request. We were also trying to pass in a format to the ActionDestroyFormat constructor, which is wrong -- they all take a device argument. Lastly, the conditional for showing the "new" filesystem options was wrong, which was causing both it and the "preexist" fs options to get added to the dialog on new request re-edits.
* editPartitionRequest -> editPartition in iw/partition_gui.py (#490384).Chris Lumens2009-03-161-3/+3
|
* clampPVSize -> clampSize in lvm.py (#490295).Chris Lumens2009-03-161-1/+1
|
* Create separate resize actions for formats and devices.David Cantrell2009-03-151-27/+53
| | | | | | | | In the 'Shrink current system' dialog box, create an action to resize the format and separate one to resize the device. These are registered in the Storage object when the function returns. Catch exceptions from the actions and display error messages for the user if necessary.
* Fix display of LV format type for encrypted LVs.David Lehman2009-03-131-1/+1
|
* Schedule format create for newly encrypted preexisting partition.David Lehman2009-03-131-0/+1
| | | | This is analogous to the earlier fix for lvs.
* Schedule format create action for newly encrypted preexisting LV.David Lehman2009-03-131-1/+2
|
* Use the right import path for checkbootloader (#490049).Chris Lumens2009-03-131-1/+1
|
* Fix infinite loops in partition screen populate. (#490051)David Lehman2009-03-131-0/+2
|
* Fix getting of number of total devices of sw raid.Radek Vykydal2009-03-131-0/+1
| | | | | | | | | | | | The bug manifests itself in edit raid ui dialog of existing raid array. * storage/devices.py: For existing partitions use parents to get number of total devices in array, for new partitions use value from device instance which is initialized when the instance is created * iw.raid_dialog_gui.py: Initialize number of total devices when creating raid array in UI.
* Fix editing of existing logical volume.Radek Vykydal2009-03-131-2/+2
| | | | Also (probably harmless) typo corrected.