summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
Commit message (Collapse)AuthorAgeFilesLines
* 2006-09-22 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-221-3/+0
| | | | | * partedUtils.py (DiskSet.findExistingRootPartitions): Don't give an error on partition mount errors (#201805)
* 2006-09-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-211-2/+2
| | | | | | | | | | * 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
* - remove special casing of s390 in most device-mapper codepathsPeter Jones2006-08-171-13/+7
|
* 2006-08-10 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-101-0/+7
| | | | | * partedUtils.py (productMatches): Tweak acceptable RHEL upgrade matches (#201741)
* - make mpath + iscsi workPeter Jones2006-08-011-5/+5
|
* - fix accidental skippedList additionsPeter Jones2006-08-011-1/+2
|
* - update multipath and dmraid support, make it actually installPeter Jones2006-07-261-52/+44
|
* 2006-07-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-201-3/+3
| | | | | | * partedUtils.py (DiskSet.startAllRaid): Calling refreshDevices() here totally breaks adding partitions... not sure what the intent was, but needs to be handled differently. (#199459)
* - add start and stop routines for mpathPeter Jones2006-07-171-19/+70
|
* Use subprocess instead of our own code. Fix all calls to execWith* soChris Lumens2006-07-121-2/+1
| | | | | the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
* PSU, PSU wherefore art though...Paul Nasrat2006-07-071-3/+18
| | | | | | | rescue.py (runRescue): Move label reading to partedUtils.py. partedUtils.py (DiskSet.findExistingRootPartitions): Look up filesystem labels as we find root partitions, as we won't have LVM active if we wait until later (#196345).
* Instead of detecting whether a device is removable or not, detect whetherChris Lumens2006-06-221-1/+1
| | | | | there is media present in devices where it may be removed. This should finish up getting USB installation working.
* 2006-06-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-161-0/+2
| | | | * partedUtils.py (DiskSet.startDmRaid): No dmraid on s390
* 2006-06-09 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-091-3/+8
| | | | | | | | | | | | * partitions.py (Partitions.sanityCheckAllRequests): Sanity check to ensure /boot on the mactels is on one of the first 4 parts * partedUtils.py (DiskSet.savePartitions): Use gptsync to sync gpt->mbr on mactels (archLabels): Allow gpt on i386, x86_64 * bootloader.py (bootloaderSetupChoices): mactels need their bootloader on the partition.
* Don't get stuck in an infinite loop.Chris Lumens2006-05-191-0/+1
|
* Let's try the right test here.Chris Lumens2006-05-191-1/+1
|
* Fix traceback looking for protected partitions.Chris Lumens2006-05-181-1/+3
|
* Change findExistingRoots to use the anaconda class, which required aChris Lumens2006-05-171-14/+21
| | | | | | | | | | | bunch of changes elsewhere in upgrade.py to also use anaconda. This required fixing up rescue mode (which was broken anyway) in the same way, which then required the same sort of stuff done in anaconda. Oh, and all that was so we could disable a meaningless error message on searching for existing installations on hard drive installs/upgrades. I forgot what I was really working on.
* Get ready for a surprise...David Cantrell2006-03-241-16/+17
| | | | not really. It's just iutil.getArch() -> rhpl.getArch() updates.
* Build it up, tear it down. Since we're destroying isys from the inside,David Cantrell2006-03-241-2/+2
| | | | | figured I'd remove isys.getpagesize() since the Python resource module has that.
* Ignore disks listed in ignoredisks, even if we have clearpart --all (#186438).Chris Lumens2006-03-231-1/+2
|
* Create a dictionary in flags.py for storing /proc/cmdline. Nuke allChris Lumens2006-03-221-10/+7
| | | | references to /proc/cmdline from everywhere else in favor of this dict.
* - fix partition naming for dm devicesPeter Jones2006-02-061-3/+9
|
* - add kickstart dmraid supportPeter Jones2006-01-311-2/+3
|
* 2006-01-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-01-261-1/+1
| | | | | * partedUtils.py (DiskSet.openDevices): Patch from Patrick Mansfield so that device nodes don't disappear out from under us.
* * dmraid.py (dmDriveCache): add dmDriveCache class, to to managePeter Jones2005-12-111-52/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | our three-drive-monte with isys's hard drive list. (getRaidSetInfo): remove completely (scanForRaid): don't use getRaidSetInfo, just test the RaidSet object directly. Also log a warning when we encounter a degraded raidset. (startAllRaid): don't use a generator, since we need to provide a non-None empty result set. (stopRaidSet): simplify the code a bit. (stopAllRaids): remove traceback stuff, and remove artifacts of getRaidSetInfo * fsset.py: don't disable dmraids when rescanning partitions (LogicalVolumeDevice): rename the volume group name argument to "vgname" instead of "lvname", and add an argument for the object so we can find its physical volumes. * lvm.py (writeForceConf): take device list as an argument, and use that to write the filter rules. * partRequests.py (LogicalVolumeRequestSpec.getDevice): pass vg object in to fsset.LogicalVolumeDevice * partedUtils.py (DiskSet.startDmRaid): rewrite it to remove some unneeded code, and make it a lot simpler. (.startAllRaid): cut out a lot of crap, make the s390 handling simpler (.stopDmRaid): remove some useless stuff (.stopAllRaid): remove the s390 handling (.openDevices): check for None to see if dmraid is initialized. * partitions.py (Partitions.setFromDisk): call lvm.writeForceConf before we probe for PV/VG/LV info.
* 2005-11-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-11-181-3/+3
| | | | | * partedUtils.py (DiskSet.openDevices): debug prints -> log.debug (#173533)
* - support for dmraidPeter Jones2005-11-171-4/+74
|
* 2005-10-28 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-10-281-0/+1
| | | | * partedUtils.py (max_logical_partition_count): Likewise.
* Reorder cases so we don't run into a surprise None (#170003).Chris Lumens2005-10-061-2/+2
|
* Add support for Pegasos machine (dwmw2, #166013).Chris Lumens2005-08-161-2/+6
|
* Use new logging system.Chris Lumens2005-08-121-6/+8
|
* 2005-05-23 Jeremy Katz <katzj@redhat.com>fc4-baseJeremy Katz2005-05-231-4/+1
| | | | | * partedUtils.py (DiskSet.getLabels): Look for labels on all fstypes.
* 2005-03-29 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-03-291-4/+4
| | | | | * partedUtils.py (getRedHatReleaseString): Change to getReleaseString. * upgrade.py (findExistingRoots): Method name change.
* Delete snapshot LVs before their parentsPeter Jones2005-03-281-1/+3
|
* add commaBill Nottingham2005-03-251-1/+1
|
* 2005-03-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-03-241-0/+1
| | | | | * partedUtils.py (allPartitionTypesDict): Add new Solaris partition label
* Fedora PPC - autopartitioning (#121266) and G5 (#149081)Paul Nasrat2005-02-191-0/+3
|
* 2005-01-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-01-051-1/+5
| | | | | | | * partedUtils.py (getDefaultDiskType): the default disk type on s390 should be dasd, but we can't format those with parted and if we get here, we're formatting an fcp disk which should be msdos (#144199)
* 2004-12-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-201-1/+7
| | | | | | | | | * command-stubs/mknod-stub (main): Add * partedUtils.py (get_partition_name): * iutil.py (makeDriveDeviceNodes): * fsset.py (prepbootFileSystem.getDiskPart): Promise SX8 devices are of the form /dev/sx8/dpn; support this as needed.
* 2004-10-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-261-3/+6
| | | | | * partedUtils.py (DiskSet.openDevices): Don't die if we don't have an intf set up yet (#130123, #137239)
* - don't traceback with unpartitioned FCP disks on mainframe. Use generic ↵Karsten Hopp2004-10-061-1/+1
| | | | | | | | | | codepath for SCSI disks instead of DASD stuff: -> self.openDevices(intf, initAll, zeroMbr, clearDevs) > /usr/src/build/465024-s390x/install/usr/lib/anaconda/partedUtils.py(884)openDevices() -> format = drive + " (" + devs[drive] + ")" KeyError: 'sdc'
* 2004-09-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-09-271-2/+2
| | | | | * partedUtils.py (sniffFilesystemType): Don't accept version 0 swaps as swap
* don't traceback if we get a read error on /etc/redhat-release (this wasJeremy Katz2004-08-021-1/+8
| | | | reported in bugzilla, but I don't remember the bug #)
* mainframe now have harddisks other than DASD, don't try to run dasdfmt on ↵Karsten Hopp2004-08-021-8/+9
| | | | FCP disks. Some indentation cleanup
* Default to mac partition tables on PMacPaul Nasrat2004-07-131-1/+4
|
* sniff for raid and lvm magic before ext[23]. if you have ext[23] on raid,Jeremy Katz2004-07-121-10/+17
| | | | | | then the magic is going to (potentially) be on the component devs. add sniffing for lvm2 magic based on code in the lvm tools
* oops, fix silly syntax error from too much cutting and pastingJeremy Katz2004-06-291-2/+2
|
* change this wording around a bit (#99439)Jeremy Katz2004-06-281-8/+13
|
* - add devicenumber to dialog to be more specific about which dasd is about ↵Karsten Hopp2004-06-161-3/+9
| | | | to be formatted