summaryrefslogtreecommitdiffstats
path: root/partitioning.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the clearpart logic out of openDevices since we don't want to do it everyChris Lumens2007-03-281-0/+1
| | | | time openDevices is called, which is fairly often (#232936).
* * anaconda (__main__): Pass reference to anaconda object to InstallData.David Cantrell2006-12-131-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fsset.py (readFstab): Take reference to anaconda object rather than a path and intf. Pass anaconda reference to DiskSet(). * fssey.py (__main__): Removed. * installclass.py (BaseInstallClass): Pass anaconda reference to the reset() method for InstallData. * instdata.py (InstallData.reset): Take anaconda object reference as parameter. Pass anaconda to DiskSet(). * instdata.py (InstallData.__init__): Take anaconda object ref as parameter, pass it to reset() method. * kickstart.py (AnacondaKSHandlers): Store anaconda object reference, pass to DiskSet() object creations. * partedUtils.py (DiskSet): Take anaconda object reference, store. Use self.anaconda throughout DiskSet object, remove individual pass-ins of intf and other anaconda object parts. * partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861). * partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr, and clearDevs params since those are in the anaconda object. When a kickstart install is running, the dasd found is in the clearpart list, and the --initlabel option has been used, skip the interactive dialog asking if you want to format the DASD and just do it (#218861). * partitioning.py (partitionObjectsInitialize): Removed arguments since the anaconda object provides those now. * upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet. Only pass anaconda ref to readFstab(). * upgrade.py (upgradeMountFilesystems): Likewise.
* 2006-09-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-211-2/+0
| | | | | | | | | | * partitioning.py (partitionObjectsInitialize): Don't call check no disks here (#207471) * textw/partition_text.py (PartitionTypeWindow.__call__): And here * iw/autopart_type.py (PartitionTypeWindow.getNext): Check for no disks here * partedUtils.py (DiskSet.checkNoDisks): Don't exit, just return with an error code
* 2006-09-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-191-0/+4
| | | | | | | | | | | | | | | | | * partitioning.py (partitionObjectsInitialize): Shutdown/startup zfcp devs here * yuminstall.py (YumBackend.doPreInstall): Remove spurious zfcp.conf copy * zfcp.py: Massive reworking to work better with new UI * ui/zfcp-config.glade: ZFCP config dialog * iw/autopart_type.py: Use zfcp config dialog (#204145) * installclass.py (BaseInstallClass.setSteps): Remove explicit zfcp step * dispatch.py (installSteps): Likewise.
* - make mpath + iscsi workPeter Jones2006-08-011-13/+7
|
* - update multipath and dmraid support, make it actually installPeter Jones2006-07-261-6/+13
|
* - make partitionObjectInitialization() do the right thing with dm devicesPeter Jones2006-07-171-0/+6
|
* A couple more things pykickstart found. Some of these are even bugs.Chris Lumens2006-06-221-12/+0
|
* 2006-06-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iw/iscsi_gui.py (iscsiWindow.getNext): Don't need to do the startup here now. * isys/isys.py (compareDrives): Sort xvd devices first since they're the "bootable" ones for Xen (driveIsIscsi): Determine if a drive is iscsi or not. Kind of ugly. * zfcp.py (ZFCP.write): Copy zfcp.conf here. * yuminstall.py (YumBackend.doPreInstall): Write out network, zfcp and iscsi info prior to the install starting. * partitioning.py (partitionObjectsInitialize): Flush drive dict on initialization, set up iscsi devices here, make device nodes for drives * kickstart.py (AnacondaKSHandlers.doIscsi): Initial iscsi kickstart support. This syntax *will* change * iscsi.py (iscsi.action): Set nodes to start up automatically on boot in the db (iscsi.startup): Give a popup while we're waiting on iscsi devs to initialize (iscsi.write): Write out iscsi config * fsset.py: Add various bits so that we can set that a device should be marked as _netdev in the fstab and use it appropriately for iscsi.
* Finish making non-UI steps pass around the anaconda object.Chris Lumens2006-05-041-20/+16
|
* Start to use the anaconda class instead of passing around references toChris Lumens2006-05-031-8/+8
| | | | lots of other objects.
* 2005-09-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-09-121-19/+1
| | | | | | | | * partitioning.py (partitionMethodSetup): Remove dead step code. (partitionObjectsInitialize): Set protected parts here. * dispatch.py (installSteps): Likewise. * installclass.py (BaseInstallClass.setSteps): More dead step nuking.
* Use new logging system.Chris Lumens2005-08-121-2/+0
|
* 2005-04-11 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-111-2/+3
| | | | | * partitioning.py (partitioningComplete): Don't try to do early swap in test mode and use yesno instead of okcancel (msw)
* going back from partitioning should have us rescan the list of drives probablyJeremy Katz2004-02-101-0/+1
|
* in kickstart, turn on swap early if low memory (#114069)Jeremy Katz2004-01-221-1/+1
|
* tyopJeremy Katz2003-10-231-1/+1
|
* also need to delete meta stuff for early swap on lvm (#103190)Jeremy Katz2003-10-231-0/+1
|
* keep track of if we've created logical volumes so that we can handleJeremy Katz2003-10-171-0/+1
| | | | early swap on lvm (#103190)
* switch to using memory sniffer which gives a more accurate measure of space ↵Mike Fulbright2003-06-231-3/+3
| | | | available for anaconda to run by taking into account memory allocated to ramfs filesystems (/tmp).
* another taroon merge. tagged before as before-taroon-merge, after asJeremy Katz2003-04-241-4/+0
| | | | | | | | after-taroon-merge this one adds s390 fixes, basic i/p series platform support, support for multiple kernels and one second stage, cmdline kickstart mode (nice for s390), some warning cleanups.
* merge taroon branch up until now. tagged as before-taroon-merge before andJeremy Katz2003-03-211-4/+1
| | | | | 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, I drilled the initlabel on drive support all the way down into the ↵before-parted-1-6-changesJeremy Katz2002-11-011-1/+1
| | | | lower levels but forgot to change this bit (#64160)
* fix for bug #66749Mike Fulbright2002-06-141-0/+3
|
* clean up getting of request sizes for lvm and raid to be just the same asJeremy Katz2002-05-311-79/+0
| | | | | | for partitions. clean up the ensuing mess. we also need to use proper sanity checking of requests before doing autopartitioning instead of the hack that was there before.
* start to pretend to work with lvm on top of raid, but we really don't yetJeremy Katz2002-05-301-3/+8
|
* okay is NOT OK!Mike Fulbright2002-05-291-4/+6
|
* migrate to using rhpl log functionMike Fulbright2002-05-231-2/+3
|
* 1) Fix all copyrights 2) move everything to use rhpl.translate instead of ↵Mike Fulbright2002-05-231-2/+2
| | | | our own translate.py
* partitioning bits merged into their new, improved, moved locationsJeremy Katz2002-04-191-1/+2
|
* move a lot more out of partitioning.py... a lot of the functions are nowJeremy Katz2002-02-141-543/+1
| | | | methods of request classes or the Partitions class
* even more fun... move Partitions object to partitions.py and adjust accordingly.Jeremy Katz2002-02-131-649/+13
| | | | | move the Request object into partRequests.py and actually make it a nicer object with subclasses for the various types.
* no spaces in mount point for you\!Mike Fulbright2002-02-131-1/+3
|
* all of the silly interface helpers get their own file nowJeremy Katz2002-02-121-292/+3
|
* diskset moves to partedUtilsJeremy Katz2002-02-121-450/+5
|
* stage2 of the partitioning.py cleanupJeremy Katz2002-02-071-61/+14
| | | | | | | * move the following functions from partitioning.py -> raid.py isRaid5, isRaid1, isRaid0, get_raid_min_members, get_raid_max_spares * update other sources accordingly
* stage 1 of the partitioning.py cleanup effort --Jeremy Katz2002-02-061-255/+37
| | | | | | | | | | | | | | 1) move the following functions from partitioning.py -> partedUtils.py get_flags, start_sector_to_cyl, end_sector_to_cyl, start_cyl_to_sector, end_cyl_to_sector, getPartSize, getPartSizeMB, getDeviceSizeMB, get_partition_by_name, get_partition_name, get_partition_file_system_type, set_partition_file_system_type, get_partition_drive, map_foreign_to_fsname, filter_partitions, get_logical_partitions, get_primary_partitions, get_raid_partitions, get_lvm_partitions, 2) move PartitioningError and PartitioningWarning classes from partitioning.py -> partErrors.py Change everything that depends on these functions to use the new location
* tweak requestSize functionMike Fulbright2002-02-061-5/+5
|
* I can't typeJeremy Katz2002-02-041-1/+1
|
* add lvm to the list of linux native typesJeremy Katz2002-02-041-1/+1
|
* lots of lvm ui fixes and sanity checkingMike Fulbright2002-02-011-11/+108
|
* get rid of some debug prints to make bill happy. also adds some of the ↵Jeremy Katz2002-02-011-11/+3
| | | | raidminor stuff so that we can specify an explicity raid device in kickstart so that IS can end up with identical machines
* ladeda... upgrades actually might work nowJeremy Katz2002-02-011-1/+1
|
* dont reuse mount points, and you cant boot off LVMike Fulbright2002-02-011-1/+4
|
* huge commit - adds editting/deleting/adding logical volumes and volume groups...Mike Fulbright2002-02-011-14/+111
|
* the msf function that was missingMike Fulbright2002-01-311-18/+28
|
* msf didn't commit his version of this function... mine seems to be ↵Jeremy Katz2002-01-311-0/+18
| | | | compatible though :)
* rename field so we know its units is MBMike Fulbright2002-01-281-11/+11
|
* we can actually create logical volumes nowJeremy Katz2002-01-251-7/+30
|
* oopsJeremy Katz2002-01-251-1/+1
|