summaryrefslogtreecommitdiffstats
path: root/partIntfHelpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Change DeviceTree.devices from a dict to a list.David Lehman2009-07-211-1/+1
|
* Remove devices in leaves first order (#496630)Hans de Goede2009-04-241-8/+14
|
* Allow the use of "-" in the lvm names. (495329)Joel Granados Moreno2009-04-171-1/+1
|
* Fix typo in doDeleteDevice.David Lehman2009-03-041-1/+1
|
* Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-5/+6
| | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* Update to call storage.destroyDevice instead of storage.deleteDevice.David Lehman2009-02-231-3/+3
| | | | Consistency makes maintenance easier.
* Update UI code to use new storage module.David Lehman2009-02-231-342/+85
|
* Don't check for a swapfs on things that aren't partitions (#485977).Chris Lumens2009-02-201-1/+1
|
* getPartitionByPath expects the device to start with /dev/.Chris Lumens2009-02-121-4/+4
|
* Use parted.Disk.getPartitionByPath()David Cantrell2009-02-121-51/+77
| | | | | | Removed the parted.getPartitionByName() function. There is now a method on parted.Disk called getPartitionByPath() which provides the same functionality, but only works on a single Disk.
* Use device property on Disk and Geometry objects.David Cantrell2009-02-121-5/+6
| | | | | The property name for Device objects on a Disk or Geometry is 'device', not 'dev'.
* Syntax changes for the new pyparted.David Cantrell2009-02-121-5/+5
| | | | | | | | | | | | | | | 1) Iterate over partitions with a for loop over disk.partitions.values() rather than calling next_partition() 2) Call getFlag() rather than get_flag() 3) Call setFlag() to enable a flag, call unsetFlag() to disable a flag. 4) Reference the active property rather than calling the is_active() method. And other fixes.
* Don't use the native_type flag anymore.Chris Lumens2009-02-121-1/+1
| | | | | | | In the old pyparted, this flag was marked with all sorts of warnings about how it would go away once certain constants were supported. We now support all the constants libparted exposes, so we don't need to keep ancient hacks around anymore.
* Removed partedUtils.get_partition_by_name()David Cantrell2009-02-121-5/+4
| | | | Now provided by pyparted as parted.getPartitionByName()
* Removed partedUtils.get_partition_name()David Cantrell2009-02-121-3/+3
| | | | Now provided by parted.Partition.getDeviceNodeName()
* Removed sector<->cylinder conversion functions.David Cantrell2009-02-121-4/+2
| | | | | The parted.Device object now offers functions to translate between cylinders and sectors.
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-1/+2
| | | | * po/sk.po: Typo fix.
* Fix a bunch of pychecker errors.Chris Lumens2008-01-121-4/+3
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-4/+4
| | | | | | | 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.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-10/+17
| | | | | | Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright year ranges and listed authors (if they were in the comment section) under the Red Hat Author(s) section.
* 2007-07-06 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-061-1/+1
| | | | | * partedUtils.py (DiskSet.openDevices): Fix double space (#246703) * partIntfHelpers.py (queryNoFormatPreExisting): Likewise.
* 2007-01-29 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-291-1/+1
| | | | | * partIntfHelpers.py (mustHaveSelectedDrive): Kill useless preposition at the end of the sentence.
* * partIntfHelpers.py: reword dialogBill Nottingham2007-01-291-2/+1
|
* 2006-06-28 Bill Nottingham <notting@redhat.com>Bill Nottingham2006-08-281-2/+2
| | | | | | * partIntfHelpers.py (sanityCheckVolumeGroupName, sanityCheckLogicalVolumeName): Disallow more device names that will break LVM installs (#20438)
* - don't error out just because somebody misclicked deletePeter Jones2006-08-021-1/+2
|
* Allow existing partitions containing ISO images to be mounted (#105722).Chris Lumens2006-05-231-5/+8
| | | | | This still needs to be tested, once we get through with all the image-making problems.
* Make all UI steps use anaconda class. Add system-config-keyboard shim.Chris Lumens2006-05-041-4/+4
|
* Make error message useful.Chris Lumens2005-09-071-2/+2
|
* 2005-04-16 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-171-0/+5
| | | | | | | | * textw/partition_text.py (AutoPartitionWindow.__call__): Check for a drive being selected (#124296) * partIntfHelpers.py (mustHaveSelectedDrive): Add UI helper for selected drives error. * iw/partition_gui.py (AutoPartitionWindow.getNext): Use helper.
* 2004-12-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-211-1/+1
| | | | | * partIntfHelpers.py (sanityCheckVolumeGroupName): Blacklist root as a VG name (#142785)
* 2004-10-06 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-061-2/+3
| | | | | | | | | * partRequests.py (RequestSpec.sanityCheckRequest): Call sanityCheckMountPoint with new option * partIntfHelpers.py (sanityCheckMountPoint): Don't allow formatting unless they specify a mountpoint on pre-existing partitions (#134865)
* even better wordingbfox2004-03-121-1/+1
|
* clarify wording (bug #117669)bfox2004-03-121-1/+1
|
* remove some Red Hat-ismsBill Nottingham2003-12-161-1/+1
|
* merge from taroonJeremy Katz2003-09-201-1/+1
| | | | fairly large merge, but all fairly obvious stuff. will test in a tree tomorrow
* change to Modify Partition (#72671)Jeremy Katz2003-08-131-1/+1
|
* cleanupMike Fulbright2003-07-111-4/+0
|
* relax condition that a "." not be in the mountpoint (we probably dont catch ↵Mike Fulbright2003-07-111-1/+1
| | | | smart pants type things like "/...." or "/." now but you are an idiot if you do that)
* merge taroon branch. mostly package bits, but a lot of other misc stuffJeremy Katz2003-06-061-2/+9
| | | | and cleanups in here too
* merge taroon branch up until now. tagged as before-taroon-merge before andJeremy Katz2003-03-211-11/+0
| | | | | will be tagged after-taroon-merge after. taroon at this point is tagged taroon-merge-point for where to base merges from in the future
* oops, have to group the multiline stringsworkflow-change-baseJeremy Katz2003-02-281-5/+5
|
* have to do the substitution after the translation, not before (#85238)Jeremy Katz2003-02-261-4/+4
|
* fix for #78460Matt Wilson2002-11-241-1/+1
|
* port to parted 1.6.xafter-parted-1-6-changesMatt Wilson2002-11-011-3/+3
|
* be more picky about what we allow as a volume or logical volume nameMike Fulbright2002-08-011-7/+12
|
* fixes for bug 68470Mike Fulbright2002-07-231-10/+12
|
* fix typo (#68830)Bill Nottingham2002-07-151-1/+1
|
* Fix crash on certain partition tables because previous delete entire disk ↵Mike Fulbright2002-07-021-6/+32
| | | | algorithm tried to delete FREESPACE and METADATA type partitions, as well as logical partitions after we'd deleted the extended partition it was in
* added the correct icon to dialogsMike Fulbright2002-06-271-17/+24
|
* make mode to be quietMike Fulbright2002-06-271-9/+11
|