summaryrefslogtreecommitdiffstats
path: root/partitions.py
Commit message (Collapse)AuthorAgeFilesLines
* 2005-10-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-10-201-0/+7
| | | | | * partitions.py (Partitions.sanityCheckAllRequests): Don't allow bootable partitions on xfs
* Use new logging system.Chris Lumens2005-08-121-13/+15
|
* 2005-07-08 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-07-081-5/+0
| | | | * partitions.py (Partitions.getBootableRequest): Nuke some dead code.
* 2005-06-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-06-071-13/+4
| | | | | | | * partitions.py (Partitions.writeKS): And use the quoted format so we get it everywhere (#159193) * fsset.py (FileSystemType.getName): Pass back quoted fsname if needed.
* 2005-05-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-05-191-6/+21
| | | | | | | | | | | | * fsset.py (prepbootFileSystem.__init__): PReP partitions should be marked bootable, from Dustin Kirkland. * raid.py (availRaidLevels): Allow ppc to have a RAID /boot, from Dustin Kirkland. * partitions.py (Partitions.getBootableRequest): Split PMac/pSeries handling to be different. pSeries can do bootable PReP. Patch from Dustin Kirkland <dustin.kirkland@us.ibm.com>
* 2005-04-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-04-271-1/+1
| | | | | * partitions.py (Partitions.setFromDisk): Fix lvs showing up with a mountpoint of 0 (#153965)
* update LV snapshot delete codePeter Jones2005-03-281-14/+25
|
* bad method name, no donut.Peter Jones2005-03-281-1/+1
|
* Delete snapshot LVs before their parentsPeter Jones2005-03-281-7/+15
|
* move availRaidLevels from fsset.py to raid.py, so it can be evaluated rightPeter Jones2005-03-091-1/+1
| | | | in all imports
* put the apple bootloader stuff in the kickstart list, and remove it fromPeter Jones2005-02-231-0/+2
| | | | the raid and lvm possibilities early on
* Fix clampPVSize call. Fix typo in getBootableRequest.Chris Lumens2005-02-231-2/+2
|
* Deal with multiple Apple Bootstrap partitions (dwmw2)Paul Nasrat2005-02-211-11/+12
|
* Fedora PPC - autopartitioning (#121266) and G5 (#149081)Paul Nasrat2005-02-191-0/+24
|
* * lvm.py (lvlist): return size in MB.Peter Jones2005-01-211-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | * lvm.py (pvlist): return size in MB. * lvm.py (vglist): return size in MB, and pesize in KB. * lvm.py (clampLVSizeRequest): use math.ceil and math.floor for "roundup", so we don't need to special case "size % pe == 0" * lvm.py (clampPVSize): replace the completely broken code that fails to implement a size heuristic for lvm1. We still need to guess at the available size, but not here. * partRequest.py: add PartitionSpec.getPVSize, which returns a size for a Physical Volume given a partition. If there's no PV in the real partition, it guesses the size based on the free space. Make VolumeGroupRequestSpec.getActualSize use PartitonSpec.getPVSize instead of PartitionSpec.getActualSize * partitions.py: make Partitions.setFromDisk use the PE size from the volume group, so we don't give the wrong pesize to clamp later and create an LV with an invalid size. Also make it handle lv size in MB. make Partitions.getAvailLVMPartitions use the PV's size, not the partition's size. It'll estimate the size from the partition's size if there's no LV created yet. * iw/lvm_dialog_gui.py: use getPVSize instead of getActualSize for LVM physical volume sizes.
* 2004-12-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-201-2/+5
| | | | | | * partitions.py (Partitions.writeKS): Improve quoting of fstypes. Patch from Danen Brücker <dbrucker AT modwest DOT com> on anaconda-devel-list
* 2004-12-08 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-091-4/+4
| | | | | | | | | * partitions.py (Partitions.setFromDisk): Adding as a request requires more bits, do as a delete (#142304) (Partitions.getPartialLVMRequests): Check deletes now * partRequests.py (PartialVolumeGroupRequestSpec): It's not really a RequestSpec, change accordingly.
* 2004-12-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-031-0/+5
| | | | | * partitions.py (Partitions.setFromDisk): Detect partial vgs, preserve the name (#139058)
* 2004-12-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-031-4/+17
| | | | | | | * partitions.py (Partitions.getPartialLVMRequests): Get partial volume group requests (Partitions.isVolumeGroupNameInUse): If we have a partial by the requested name, let it be known so that we avoid conflicts.
* 2004-12-01 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-12-011-0/+2
| | | | * partitions.py (Partitions.writeKS): Include pesize (#141370)
* 2004-11-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-041-3/+3
| | | | | * partitions.py (Partitions.writeKS): Have to have sizes as integers (#138109)
* 2004-11-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-11-031-1/+1
| | | | | | | | | * autopart.py (getAutopartitionBoot): Use iutil.hasiSeriesNativeStorage instead of iutil.hasIbmSis() * partitions.py (Partitions.sanityCheckAllRequests): Likewise. * iutil.py (hasiSeriesNativeStorage): Rename from hasIbmSis(), check for ipr as well as ibmsis.
* 2004-10-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-171-0/+2
| | | | | | | * partitions.py (Partitions.writeKS): Write out size=0 (#135714) * kickstart.py (KickstartBase.definePartition): Allow partition size to be zero to work better with LVM autopart (#135714)
* 2004-10-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-10-041-0/+2
| | | | | | | | * partitions.py (Partitions.writeKS): Include PPC PReP boot partition (#133934) * kickstart.py (KickstartBase.definePartition) Allow specifying the PPC PReP Boot partition as "part prepboot"
* fix getting the raid chunk size to actually workJeremy Katz2004-07-131-1/+1
|
* fix size reporting (#127535)Jeremy Katz2004-07-121-1/+1
|
* don't crash on an unsupported raid level (#125492, others)Jeremy Katz2004-06-151-1/+6
|
* quote fstype if needed (#119243)Jeremy Katz2004-06-091-1/+4
|
* bump down min sizes to avoid problems with cylinders causing rounding oddnessJeremy Katz2004-05-111-2/+2
|
* fix traceback (#115564)Jeremy Katz2004-02-181-1/+1
|
* remove auto-swap formatting hack from the 7.2 days. this used to beJeremy Katz2004-01-061-16/+4
| | | | | really useful in the "use fdisk, set swap partition" case. it shouldn't really be necessary anymore (#107264)
* and use the lvm.py stuff to find preexisting partitions for installs tooJeremy Katz2003-12-121-64/+19
|
* merge fixJeremy Katz2003-12-051-1/+1
|
* avoid trying to remove a raid minor more than onceJeremy Katz2003-11-061-1/+1
|
* read the chunk size of preexisting raid devices and reuse it (#101518)Jeremy Katz2003-10-161-1/+7
|
* pull up fix for #105788 from taroon-branchJeremy Katz2003-10-141-0/+19
|
* if we're doing a hard drive install from a removable drive (like usb-storage),Jeremy Katz2003-09-291-1/+4
| | | | then there won't be a request associated with it in most cases (#105720)
* don't try to remove existing log vols or vol groups more than once (#104993)Jeremy Katz2003-09-251-2/+6
|
* merge from taroonJeremy Katz2003-09-201-1/+7
| | | | fairly large merge, but all fairly obvious stuff. will test in a tree tomorrow
* merge from taroon branch to headJeremy Katz2003-07-311-0/+3
|
* massive merge from taroon branch. changes are all over the place, but aJeremy Katz2003-07-081-5/+6
| | | | | | | | | | | | | | summary of looking through the diff is * clean up warnings, we build with -Wall -Werror here too * product.img stuff * max logical partitions enforcement * 1 TB max fs size * ethtool stuff * autopart in kickstart * driver disk fixes * RHEL upgrade stuff * network driver disks * variant pkgorder/tree splitting
* address some overflow situations with terabyte size filesystems (bug #91931)Mike Fulbright2003-06-301-3/+3
|
* mergeJeremy Katz2003-06-241-3/+8
|
* removed reference to unusde corrected keyword for memInstalled() function.Mike Fulbright2003-06-231-1/+1
|
* merge from taroon. highlights of this time aroundJeremy Katz2003-06-231-33/+78
| | | | | | | | * ppc boot constraints * md5 endianness * don't prompt to save tracebacks to a floppy without a floppy * autopart for kickstart * network configuration in the loader if vnc/display case
* merge from taroon branch to HEAD. mostly the package stuff, but alsoJeremy Katz2003-05-201-0/+6
| | | | msw's ctrl-alt-del thing and some arch fixups
* merge changes from taroon-branch. this merges up to anaconda-9.0.2-1.RHELJeremy Katz2003-05-051-4/+2
|
* another taroon merge. tagged before as before-taroon-merge, after asJeremy Katz2003-04-241-0/+16
| | | | | | | | 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.
* size of preexisting volume groups was off by 1024 (#84481)Jeremy Katz2003-02-201-1/+1
|
* cciss, etc show up as cciss_c0d0p2 (et al) in /proc/lvm/VGs/vgname/PVs/.Jeremy Katz2003-02-121-0/+3
| | | | handle this properly (#77872)