summaryrefslogtreecommitdiffstats
path: root/partitions.py
Commit message (Collapse)AuthorAgeFilesLines
* Move all the exceptions into a single file.Chris Lumens2008-06-091-1/+1
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-5/+25
| | | | * po/sk.po: Typo fix.
* Don't use size to determine if a partition is an EFI system partition; instead,Peter Jones2008-04-251-3/+4
| | | | check that it's not our install image.
* Bootable requests can not be on logical volumes (#439270).Chris Lumens2008-04-011-1/+4
|
* Handle fstype munging in isys.readFSType instead of in various other places.David Lehman2008-03-281-7/+4
|
* Fix a typo in new encrypted LV code.David Lehman2008-03-281-1/+1
|
* Improve handling of logical volume device names when encrypted.David Lehman2008-03-281-2/+3
| | | | Use of the /dev/mapper/VolGroupXX-LogVolXX node allows us to rely on the basename being unique.
* Add support for discovery of preexisting LUKS encrypted devices.David Lehman2008-03-281-8/+83
| | | | Scan for encrypted devices while reading the initial partition layout from disk. Prompt for passphrases and include encryption information in the RequestSpec.
* Support reading the UUID from the disk like we do with labels.Chris Lumens2008-03-181-1/+1
| | | | | This fixes mounting disks by UUID in upgrades and probably rescue mode as well.
* Fix traceback with preexisting LUKS partitions in setFromDisk. (part of #437858)David Lehman2008-03-171-15/+16
|
* Do not strip leading or trailing whiltespace from passphrases. (#437499)David Lehman2008-03-141-1/+1
|
* Handle /boot/efi and /boot both as bootrequestsPeter Jones2008-03-141-7/+12
|
* Ignore LUKS headers on partitions containing RAID signatures. (#437051)David Lehman2008-03-131-0/+5
| | | | When scanning partitions for LUKS headers, we first check if libblkid says the partition has a RAID signature (we cannot rely on partition type). If it does, we assume that any LUKS header present is spurious.
* Use iutil.isEfi() instead of testing for ia64-ness.Peter Jones2008-03-041-29/+9
|
* Add a method to scan all disks for encrypted devices.David Lehman2008-02-051-0/+100
| | | | The user is prompted to enter a passphrase for each device as it is encountered.
* 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.
* Add support for encryption via autopart.Jeremy Katz2007-12-141-0/+3
| | | | | | | | This allows autopart (of LVM) to set up encrypted PVs to be used and adds the UI for enabling that in graphical mode. It's a little bit hacky as we rely on the fact request.encryption is set and has a passphrase for this to work
* Better checking for bootable request on an encrypted deviceJeremy Katz2007-12-111-0/+5
| | | | | | | Do the checking for if the bootable request is on an encrypted device in the final sanity check rather than at request add. This makes it so that you can add /boot later. Takes advantage of the new request.isEncrypted() method which checks base devs for LVM and RAID
* Simplify this logic a little and blacklist ext4 from being a bootreqJeremy Katz2007-12-111-24/+16
|
* Don't try and make devices. Adjust calls as necessary.Bill Nottingham2007-12-071-5/+2
|
* Use libblkid instead of custom filesystem probingJeremy Katz2007-12-031-1/+1
| | | | | 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.
* Backend code for logical volume resizingJeremy Katz2007-11-291-1/+22
|
* With moving partitioning, we should do a confirmation before we write thingsJeremy Katz2007-11-291-0/+14
| | | | | out to disk so do that check in partitioningComplete(). Therefore remove the queryAutoPartOK() which is superfluous
* Add infrastructure for partition resizingJeremy Katz2007-11-291-0/+1
| | | | | | | | | | We add support to preexisting partitions to be resized by adjusting their partition spec and then acting on the changes within the main partitioning engine. Keep track of what the maximum size for a preexisting partitition is so that we don't have to check in the UI Filesystems can claim to be resizable and implement the resize() method as well as the getMinimumSize() method
* Apply partitioning changes immediately after the partitioning step.Jeremy Katz2007-11-291-24/+0
| | | | | | | | | With resizing, we're going to want sooner feedback so move the applying of partitioning changes to immediately after the partitioning step. This lets us also remove the early swap-on logic. Still need to put up some scarier warnings about what's going to happen for people
* we check labels on all filesystems, not just ext[23] anymoreJeremy Katz2007-11-281-2/+1
|
* Move protected partitions into the Partitions object.Chris Lumens2007-11-281-14/+22
|
* * partitions.py: Move partitionObjectsInitialize() andDavid Cantrell2007-10-291-1/+90
| | | | | | | | | | partitioningComplete() from partitioning.py to this file. * partitioning.py: Removed. * dispatch.py: import partitioning -> import partitions * fsset.py: Likewise. * raid.py: Likewise. * iw/autopart_type.py: Likewise.
* 2007-10-05 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-10-051-8/+12
| | | | | | | * partitions.py (Partitions.sanityCheckAllRequests.getBaseReqs): Only get the disk partition for actual partition requests (#316551, #318841, #300721). Also, only iterate over the requests on mactels/efi boxes
* 2007-08-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-08-231-1/+1
| | | | * partitions.py (Partitions.getBaseReqs): New firewire module name
* Remove disabled badblocks checking code.Chris Lumens2007-08-031-4/+0
|
* - Enable booting from GPT on non-EFI systems.Peter Jones2007-07-261-11/+3
|
* - remove some zealotry that I added this morning. It is too much.Peter Jones2007-07-181-19/+19
|
* - typo fixPeter Jones2007-07-181-1/+1
|
* Fix typo.Chris Lumens2007-07-181-1/+1
|
* - typo fixPeter Jones2007-07-181-1/+1
|
* - add support for x86 machines with efiPeter Jones2007-07-181-24/+58
| | | | - add support for gpt on x86
* don't call lvm.pvlist() N^2 times, it's not going to change.Peter Jones2007-07-111-1/+2
|
* - make mpath + iscsi workPeter Jones2006-08-011-3/+1
|
* - update multipath and dmraid support, make it actually installPeter Jones2006-07-261-5/+8
|
* Show preexisting label if any exists to the UI and the mount point comboChris Lumens2006-07-211-2/+15
| | | | (#149375)
* 2006-07-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-201-0/+1
| | | | * partitions.py (Partitions.setFromDisk): Need to do the refresh here.
* - start and stop mpathsPeter Jones2006-07-171-6/+4
|
* 2006-06-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-301-0/+7
| | | | | * partitions.py (Partitions.sanityCheckAllRequests): Don't allow /boot on gfs2
* 2006-06-09 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-091-1/+20
| | | | | | | | | | | | * 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.
* - Handle empty drive lists better when looking for usb-storage and firewire.Peter Jones2006-05-161-1/+1
|
* * isys/isys.py (driveIsRemovable): Split module checking out to itsPeter Jones2006-05-091-0/+17
| | | | | | | | | | own functions. Allow usb-storage installs. * partitions.py: warn if you're using firewire or usb * loader2/modules.c (loadModule): Delay on reloading usb-storage, as it takes undefined time as well. Without this /tmp/scsidisks is wrong. * loader2/modules.c (writeModulesConf): don't exclude usb-storage or sbp2.
* Emit --useexisting and --noformat for VGs, RAID, and LVs (#189123).Chris Lumens2006-04-271-2/+12
|
* Get ready for a surprise...David Cantrell2006-03-241-4/+5
| | | | not really. It's just iutil.getArch() -> rhpl.getArch() updates.