summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
Commit message (Collapse)AuthorAgeFilesLines
* Support reading the UUID from the disk like we do with labels.Chris Lumens2008-03-181-13/+16
| | | | | This fixes mounting disks by UUID in upgrades and probably rescue mode as well.
* Add isEfiSystemPartition(), and use it where appropriatePeter Jones2008-03-141-1/+13
|
* Only do gptsync if we're not using EFI.Peter Jones2008-03-041-7/+7
|
* Don't do gptsync if we're using EFI.Peter Jones2008-03-041-7/+7
|
* Use gpt on all efi platforms.Peter Jones2008-03-041-3/+3
|
* Fix a traceback when we have an error. Related to #433658Jeremy Katz2008-03-021-2/+2
|
* Use full path to device for mount in findExistingRootPartitions.David Lehman2008-02-201-2/+5
| | | | Thanks to Joel for spotting it.
* Fix traceback on test mount in findExistingRootPartitions.David Lehman2008-02-201-1/+1
|
* Finish HDISO installs, at least for DVDs (#431132).Chris Lumens2008-02-121-1/+1
|
* Don't traceback when getLabels is called with DiskSet.anaconda set to None.David Lehman2008-02-071-3/+8
|
* Add ability to scan encrypted devices for fstype, labels, and root filesystems.David Lehman2008-02-051-18/+73
|
* Don't flush after rescanning so recently attached disks are available.Chris Lumens2008-01-181-10/+10
|
* Remove some unused code.Chris Lumens2008-01-041-4/+0
|
* 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/+18
| | | | | | 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.
* Make sure to unmount filesystems after looking for things to upgrade.Chris Lumens2007-12-131-2/+0
|
* Use isys.removableDriveDict() for exceptionDisks.Bill Nottingham2007-12-071-4/+2
|
* Don't try and make devices. Adjust calls as necessary.Bill Nottingham2007-12-071-20/+9
|
* Use libblkid instead of custom filesystem probingJeremy Katz2007-12-031-68/+5
| | | | | This patch gets rid of all of our custom filesystem type and label probing and switches it all over to using a simple binding to libblkid instead.
* Add method for finding the available size that a partition can expand intoJeremy Katz2007-11-291-0/+18
|
* Fix circular importJeremy Katz2007-11-281-3/+3
|
* Fix tracebacks when printing disk errors (#403501).Chris Lumens2007-11-281-6/+7
| | | | | | When errors are encountered in labeling and trying to make > 15 partitions, tracebacks can occur in the error printing if there's no anaconda instance. This fixes those tracebacks so the error messages are logged correctly.
* Move protected partitions into the Partitions object.Chris Lumens2007-11-281-2/+2
|
* Re-add progress bar for DASD formatting.David Cantrell2007-11-051-1/+2
| | | | | From Jan Glauber <jang AT linux DOT vnet DOT ibm DOT com>. Invoke the dasdfmt command with the -P switch to enable the progress bar.
* Rework the exception handling dialog to make it easier to add destinationsChris Lumens2007-10-261-0/+21
| | | | | other than floppy and remote via scp in the future. USB support is almost there.
* Do not ask for partition table init when in rescue modemsivak2007-10-261-0/+6
| | | | | | | 2007-10-26 Martin Sivak <msivak@redhat.com> * partedUtils.py (DiskSet): Do not ask for partition table init when in rescue mode (#331131)
* Clean up usage of /tmp for device nodes (patch from notting@redhat.com).Chris Lumens2007-10-241-8/+3
|
* A couple more pychecker error fixes. That should do it for now.Chris Lumens2007-09-191-2/+3
|
* - Enable booting from GPT on non-EFI systems.Peter Jones2007-07-261-5/+16
|
* log tracebacks from DiskSet._labelDevice()Peter Jones2007-07-231-0/+5
|
* Support the ISOs being on a partition that is set to be upgraded (#244002).Chris Lumens2007-07-191-18/+21
|
* re-port split up of DiskSet.openDevices() from rhel5Peter Jones2007-07-181-140/+159
|
* - don't generate the error message on SCSI with >15 partitions at two places.Peter Jones2007-07-171-18/+9
|
* Add the --only-use option to specify which disks should be used. This is theChris Lumens2007-07-161-1/+2
| | | | opposite operation from ignoredisk --drives (#198526).
* Don't read filesystem labels from drives in the cleared list to avoid reservingChris Lumens2007-07-131-2/+13
| | | | labels that won't exist after partitioning is complete (#209291).
* 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.
* * partedUtils.py (DiskSet.openDevices): Do not try to display dialogDavid Cantrell2007-06-251-2/+13
| | | | | box warning message if intf is None (assumes we are called from the labelFactory) (#245609).
* The secret to comedy is repetition.David Cantrell2007-05-221-8/+25
| | | | Some housekeeping work and probably a bunch of no-op code, but it prevents fugly tracebacks where the partition backend in anaconda goes tits up and loses all sense of direction.
* - only activate/deactivate lvm in label scanning if there's nothing activePeter Jones2007-05-041-3/+6
| | | | already
* Exit installer if Reboot is chosen.David Cantrell2007-04-191-1/+1
|
* * partedUtils.py (DiskSet.openDevices): Add /dev/ to the device nodeDavid Cantrell2007-04-191-2/+2
| | | | indicated in the >15 partitions error dialog (#234686).
* 2007-04-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-171-2/+9
| | | | * partedUtils.py (DiskSet.savePartitions): Don't try to commit disks with > 15 partitions.
* 2007-04-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-171-8/+12
| | | | | * partedUtils.py (DiskSet.openDevices): Better message and give option to reboot or continue anyway in the too many partitions case
* * partedUtils.py (DiskSet.openDevices): Check for more than 15David Cantrell2007-04-171-3/+16
| | | | | | partitions on the disk we are scanning. If more than 15 are found, alert the user and return. libata won't allow more than 15 partitions at the moment.
* Remove unused code.Chris Lumens2007-04-101-33/+0
|
* Move the clearpart logic out of openDevices since we don't want to do it everyChris Lumens2007-03-281-21/+47
| | | | time openDevices is called, which is fairly often (#232936).
* Allow upgrades from Fedora Core to Fedora.Chris Lumens2007-03-221-1/+2
|
* 2007-02-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-02-261-3/+3
| | | | * partedUtils.py (checkDiskLabel): Clean up text (#228198)
* * partedUtils.py (openDevices): don't relabel disks that containdlehman2007-02-221-1/+21
| | | | | | | | | | | | | | | | | | | | | | | protected partitions (#220331) * autopart.py (doClearPartAction): clear all non-protected partitions from disks that contain a protected partition IFF initAll is set * partedUtils.py (hasProtectedPartitions): new method to check if a drive contains protected partitions * packages.py (writeRegKey): method to write out regkey * dispatch.py: add writeregkey step * installclass.py (BaseInstallClass): add regkey fields and step * instdata.py: include regkey settings in anaconda-ks.cfg * packages.py (regKeyScreen): allow access to regkey screen while moving backwards (#219361) * installclasses/rhel.py: add support for real regkeys (via instnum)
* Oh crap, support for new pykickstart is here. This is too large to explainChris Lumens2007-01-161-2/+2
| | | | | in a CVS commit message so just read the ChangeLog or look at the diff. Most of it is just code reorganization and it's mostly contained in kickstart.py.