summaryrefslogtreecommitdiffstats
path: root/iw/lvm_dialog_gui.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix editing of existing logical volume.Radek Vykydal2009-03-131-2/+2
| | | | Also (probably harmless) typo corrected.
* Fix a few bugs in the lvm dialog. (#489022)David Lehman2009-03-111-2/+2
| | | | | This time I left out the check prior to setting the vg name as it should be unnecessary.
* Make the lvm dialogs minimally functional.David Lehman2009-03-041-68/+32
|
* Lots of little fixes to lvm dialogs.David Lehman2009-03-021-36/+75
|
* Remove calls to sanityCheckRequest()David Cantrell2009-03-021-11/+0
| | | | | We don't have this function anymore, but I don't know if we need to be calling anything else.
* Syntax and import fixes.David Cantrell2009-03-021-2/+2
|
* Lots of little updates to make things use the new storage module.David Lehman2009-02-241-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* Update UI code to use new storage module.David Lehman2009-02-231-361/+331
|
* Fix a few syntax error caugh by pycheckerHans de Goede2008-12-201-2/+2
| | | | Fix a few syntax error caugh by pychecker.
* Fix the last pychecker warnings in masterHans de Goede2008-10-301-1/+1
| | | | Fix the last few pychecker warnings in master
* Don't prompt for a passphrase when creating encrypted devices.David Lehman2008-09-151-25/+2
|
* Support establishing a global passphrase when creating encrypted devices.David Lehman2008-08-191-1/+13
|
* - Fix formatting on disk sizes >1TBPeter Jones2008-08-061-9/+8
| | | | - use long() some places instead of int()
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-2/+3
| | | | * po/sk.po: Typo fix.
* Partitioning UI for handling of preexisting encrypted devices.David Lehman2008-03-281-2/+6
| | | | | | | | | | | | | Basic rules are the same for partitions, LVs, RAID devices: - Existing LUKS headers can only be removed if the device is being formatted. - You can create a new filesystem on the device and retain the preexisting LUKS header. - You can add a LUKS header to a non-encrypted preexisting device only if creating a new filesystem on the device. - We prompt for passphrase only for non-preexisting LUKS headers, meaning those that existed when we read the disk layout initially. We do not support adding or changing passphrases for preexisting encrypted devices.
* Add support for encrypted LVs.David Lehman2008-03-261-0/+32
|
* Add efi to the ignoreable filesystem list.Peter Jones2008-03-141-1/+1
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* GPLv2+ boilerplates on all of the iw/*.py files.David Cantrell2007-12-171-7/+14
|
* UI for logical volume resizingJeremy Katz2007-11-291-7/+22
| | | | | | NOTE: this has a little bit of a hack in that we abuse lvrequest.getActualSize() somewhat but that's largely due to the fact that lvrequest.getActualSize() was already being abused and updating the size attribute of the request in autopart
* Give access to partitions when determining min/max size to resize; also keepJeremy Katz2007-11-291-1/+1
| | | | track of the request being resizable rather than just the filesystem
* Implement resizing UI for graphical mode.Jeremy Katz2007-11-291-14/+4
| | | | This simplifies the edit partition dialog and adds resizing support
* Allow multiple LVs to not be mountedJeremy Katz2007-11-281-0/+2
|
* Add accelerator keys to the Volume Group window. (#206479).Joel Andres Granados2007-11-011-1/+2
|
* Remove disabled badblocks checking code.Chris Lumens2007-08-031-3/+2
|
* Apply a patch to clean up strings (Paul W. Frields <stickster@gmail.com>,Chris Lumens2007-02-271-6/+6
| | | | #204564).
* Use %d instead of %g for LVM size display (#219414).Chris Lumens2007-01-041-8/+8
|
* Make sure to copy the format attribute over to the request on certain newChris Lumens2006-12-011-5/+2
| | | | volume groups (#217585).
* Always set an active value on the peCombo, and don't traceback if the defaultChris Lumens2006-11-011-15/+13
| | | | value is the first one in the list (#212317).
* Show preexisting label if any exists to the UI and the mount point comboChris Lumens2006-07-211-5/+16
| | | | (#149375)
* actually commitJeremy Katz2006-07-131-1/+1
| | | | | | 2006-07-03 Jeremy Katz <katzj@redhat.com> * iw/lvm_dialog_gui.py (VolumeGroupEditor.__init__): Try to make things fit a little better (#197334)
* If the volume group's physical extent size is other than what we expect, makeChris Lumens2006-06-011-2/+2
| | | | sure to add it to the list (#185272).
* Don't allow logical volumes to be smaller than their volume group's PE sizeChris Lumens2006-05-251-1/+1
| | | | (#186412)
* 2006-03-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-03-131-2/+2
| | | | | * iw/lvm_dialog_gui.py (VolumeGroupEditor.createPEOptionMenu): Cap at 128M instead (#185272)
* * iw/lvm_dialog_gui.py (VolumeGroupEditor.editLogicalVolume):David Cantrell2006-02-031-4/+5
| | | | | | | Increase logical volume label field to 32 characters. Changed dialog text with a better explanation for increasing available space since you can't change the physical extent size after a group has been created. (#174661).
* Use new logging system.Chris Lumens2005-08-121-1/+3
|
* Use sizes of PV requests instead of preexisting PVs on volume group editorChris Lumens2005-05-251-2/+11
| | | | screen.
* fix warnings about gtk.TRUE and gtk.FALSE, partly based on a patchPeter Jones2005-03-121-8/+8
| | | | from Colin Walters.
* * autopart.py: fix growable size log to show IDs instead of python'sPeter Jones2005-03-071-3/+9
| | | | | | | | | | | | | | | | | | | | <instance> info. log how much free space we're starting with. don't clamp an lv's total size, instead clamp pv's sizes appropriately * lvm.py: remove and recreate all PVs when we do a vgremove, so they don't lose 1 PE each time due to an lvm2 bug. log what lvm commands are being run, since that doesn't go into lvmout. log total vs actual in getVGFreeSpace * partRequests.py: get rid of getPVSize, that way can't work (oopsie). remove bogus check in getActualSize. clamp totalspace for preexisting PVs. clamp each PV's size and trim 1 PE off when computing total space. don't clamp the LV's overall size. * iw/lvm_dialog_gui.py: clamp each PV and trim 1 PE when computing availSpaceMB. Ow. My head hurts. But autopartition actually works, and even shows the same numbers as the editor afterwards.
* put the apple bootloader stuff in the kickstart list, and remove it fromPeter Jones2005-02-231-1/+1
| | | | the raid and lvm possibilities early on
* * lvm.py (lvlist): return size in MB.Peter Jones2005-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lvm.py (pvlist): return size in MB. * lvm.py (vglist): return size in MB, and pesize in KB. * lvm.py (clampLVSizeRequest): use math.ceil and math.floor for "roundup", so we don't need to special case "size % pe == 0" * lvm.py (clampPVSize): replace the completely broken code that fails to implement a size heuristic for lvm1. We still need to guess at the available size, but not here. * partRequest.py: add PartitionSpec.getPVSize, which returns a size for a Physical Volume given a partition. If there's no PV in the real partition, it guesses the size based on the free space. Make VolumeGroupRequestSpec.getActualSize use PartitonSpec.getPVSize instead of PartitionSpec.getActualSize * partitions.py: make Partitions.setFromDisk use the PE size from the volume group, so we don't give the wrong pesize to clamp later and create an LV with an invalid size. Also make it handle lv size in MB. make Partitions.getAvailLVMPartitions use the PV's size, not the partition's size. It'll estimate the size from the partition's size if there's no LV created yet. * iw/lvm_dialog_gui.py: use getPVSize instead of getActualSize for LVM physical volume sizes.
* 2004-10-06 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-061-2/+5
| | | | | | * iw/lvm_dialog_gui.py (VolumeGroupEditor.updateLogVolStore): Don't show "0" as a mountpoint for an LV that's not being mounted anywhere (#134867)
* fix editing pre-existing lvm (#132217)Jeremy Katz2004-09-151-10/+5
|
* a couple of fixes I noticed while writing the text mode code:Jeremy Katz2004-08-311-1/+4
| | | | | | * display sizes if it doesn't fit * turn off growing of the LV if they edit it (we use growing LVs for autopartitioning)
* fix some more combo changes that I didn't catch (#130722)Jeremy Katz2004-08-231-2/+2
|
* fixups for the optionmenu -> combo changes (#129951)Jeremy Katz2004-08-151-2/+2
|
* convert from GtkCombo to GtkComboBoxEntryJeremy Katz2004-08-111-2/+2
| | | | | although it somehow seems like crackrock that the only way to get the current entered text is by doing cb.get_children()[0].get_text()....
* goodbye to a lot more GtkOptionMenusJeremy Katz2004-08-111-46/+41
|
* make more hig-y: nuke the frame shadow and make the label boldJeremy Katz2003-10-021-2/+6
|
* merge from taroonJeremy Katz2003-09-201-1/+1
| | | | fairly large merge, but all fairly obvious stuff. will test in a tree tomorrow