summaryrefslogtreecommitdiffstats
path: root/storage/formats/swap.py
Commit message (Collapse)AuthorAgeFilesLines
* Show the correct device path when formatting as swap or luks.David Lehman2010-02-161-1/+2
|
* Add a "dict" attribute to Device and DeviceFormat classes.David Lehman2009-12-221-0/+6
| | | | | | | This attribute is a dict that describes the device or format instance with considerable detail. It is intended that the dict will be pickled using the shelve module, so values should be picklable objects. Keys should be descriptive strings.
* Add __str__ methods to the DeviceFormat classes.David Lehman2009-12-161-0/+6
|
* Whenever storage code tries to log a method call, do so into the ↵Ales Kozumplik2009-12-031-1/+2
| | | | | | | '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.
* Display progress or wait window when formatting devices.David Lehman2009-11-301-4/+18
| | | | | | If we are using an external utility to create the format we can use iutil.execWithPulseProgress. For formats we create using a python module we can only put up a waitWindow.
* Set parted filesystemtype for swap partitionsHans de Goede2009-10-141-1/+2
| | | | | | | | | | Our patch for adding support for the swap flag to parted msdos label handling has been rejected upstream, upstream says we should use ped_partition_set_system() instead. So do that, as I would like to drop this patch from our parted package eventually. This will also cause us to assign the right type to swap partitions in GPT tables, so this patch should go to F-12 too.
* Add --label to anaconda-ks.cfg if needed (#526223).Chris Lumens2009-10-051-0/+3
|
* Support a force=True argument on SwapSpace.create()David Cantrell2009-09-041-2/+6
| | | | | force=True will tear down the device, unmount if necessary, and then reformat it.
* Add writeKS methods to all the format objects.Chris Lumens2009-05-121-0/+3
|
* Fix handling of priority option from swap fstab entries. (#494992)David Lehman2009-04-091-2/+5
|
* Code fixes of errors shown by pylint (mgracik).Chris Lumens2009-03-251-3/+1
| | | | | | This only fixes the serious errors that may affect F11 Beta. There's still a lot of patch left that fixes some more nitpicky stuff which can come in later.
* Make sure _name is None so _type gets used by name property.David Lehman2009-03-021-0/+1
|
* Change partedFlags attribute to partedFlag.David Lehman2009-02-271-1/+1
|
* Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-5/+11
| | | | | | | | | | | - 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.
* Make it easy to specify a format's device at creation/setup time.David Lehman2009-02-241-0/+2
|
* Clean up imports and various typos, add header blocks as needed.David Lehman2009-02-231-6/+6
|
* Replace old storage modules.David Lehman2009-02-231-0/+137