summaryrefslogtreecommitdiffstats
path: root/pyanaconda/storage/formats
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-02-14 12:52:17 -0500
committerBrian C. Lane <bcl@redhat.com>2012-02-14 10:57:04 -0800
commit106461476c75bf53db68168a77ca4a449d051be1 (patch)
tree54ea07b0e32b52a3e7ecff50602c20347122971d /pyanaconda/storage/formats
parent2ad785fc16709ee492c4621abeb7a092c0d4606e (diff)
downloadanaconda-106461476c75bf53db68168a77ca4a449d051be1.tar.gz
anaconda-106461476c75bf53db68168a77ca4a449d051be1.tar.xz
anaconda-106461476c75bf53db68168a77ca4a449d051be1.zip
Add support for HFS+ partitions
We'll want to actually create HFS+ partitions, so add the missing bits for that.
Diffstat (limited to 'pyanaconda/storage/formats')
-rw-r--r--pyanaconda/storage/formats/fs.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 0942402f6..ccafa416c 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1357,11 +1357,16 @@ class AppleBootstrapFS(HFS):
register_device_format(AppleBootstrapFS)
-# this doesn't need to be here
class HFSPlus(FS):
_type = "hfs+"
_modules = ["hfsplus"]
_udevTypes = ["hfsplus"]
+ _mkfs = "mkfs.hfsplus"
+ _fsck = "fsck.hfsplus"
+ _packages = ["hfsplus-tools"]
+ _formattable = True
+ _minSize = 1
+ _maxSize = 2 * 1024 * 1024
partedSystem = fileSystemType["hfs+"]
register_device_format(HFSPlus)