summaryrefslogtreecommitdiffstats
path: root/storage/formats/dmraid.py
Commit message (Collapse)AuthorAgeFilesLines
* Add __str__ methods to the DeviceFormat classes.David Lehman2009-12-161-0/+5
|
* Hide devices with certain formatting in the main partitioning UI.David Lehman2009-12-091-0/+1
| | | | We don't want to show biosraid, multipath, &c disks in the GUI.
* Whenever storage code tries to log a method call, do so into the ↵Ales Kozumplik2009-12-031-1/+1
| | | | | | | 'tmp/storage.log' file. (a part of #524980) Previously, the method call was logged into 'tmp/anaconda.log' which made the file harder to do anything useful with.
* Make iswmd the defaultHans de Goede2009-09-151-1/+1
| | | | | | Now that we've moved to dracut for the initrd in rawhide, which supports using mdraid for isw metadata raid sets (and uses this by default), make using mdraid for isw metadata raid sets the default.
* pylint does not like @foo.setterHans de Goede2009-09-011-4/+5
| | | | | | | pylint does not like @foo.setter, so use the foo = property(setter, getter) Notation instead. Note that we already use this notation everywhere except for these 2 places, so doing things this way is more consistent anyways.
* Honor nodmraid commandline option (#499733)Hans de Goede2009-08-101-0/+5
|
* New iswmd parameter for kernel cmdlineJacek Danecki2009-06-221-0/+5
|
* Fixes of errors shown by pylint that didn't get into the beta build.Martin Gracik2009-03-311-2/+0
|
* Use the pyblock functions when possible.Joel Granados Moreno2009-03-101-1/+0
| | | | | | | | | | | * storage/devicelibs/dm.py : For each function that is used in the storage code, we try to use pyblock first. We fail to calling dmsetup. * storage/devices.py : Erased the commented line that had the pyblock call. We are doing all the pyblock calls from storage/devicelibs/dm.py. * storage/devicetree.py : likewise. * storage/formats/dmraid.py : likewise.
* Add dmraid functionality to new storage code.Joel Granados Moreno2009-03-061-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * storage/devices.py (DMRaidArrayDevice): Complete the DMRaidArrayDevice class. * storage/devices.py (PartitionDeviceFactory): When creating a partition we need to decide, based on the device holding the partition, what type of partition class will be returned. * storage/devices.py (PartitionDevice): When setting the disk we must be careful to change stuff accordingly. * storage/devicetree.py (addUdevDevice): Handle the creation of the dmraid device and its members in the addUdeveDevice function. * storage/formats/dmraid.py (DMRaidMember): Complete the format that handles devices being members of a dmraid array. * storage/udev.py (udev_device_is_dmraid): add a function that recognizes dmraid devices from the provided info list. * storage/udev.py (udev_device_get_dmraid_partition_disk): function that gets the disk string from partition info. * storage/udev.py (udev_device_is_dmraid_partition): function that checks for dmraid partitions. * storage/__init__.py (disks(self)): return a list of disks from the internal attribute. * storage/__init__.py (Storage.disks): we really want to make sure we return all the objects that comply with the DiskDevice interface (inheret from DiskDevice) * storage/__init__.py (Storage.partitions): Same as above but for PartitionDevice. * iw/autopart_type (PartitionTypeWindow(InstallWindow)): use disk.name instead of munging the first 5 characters of the path. * storage/partitioning (newPartition): Use the new partition factory to create a partition.
* Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-4/+4
| | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* Clean up imports and various typos, add header blocks as needed.David Lehman2009-02-231-2/+2
|
* Replace old storage modules.David Lehman2009-02-231-0/+89