summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-05-05 01:42:17 +0000
committerJeremy Katz <katzj@redhat.com>2005-05-05 01:42:17 +0000
commit383a190ddb0648b78a0d80a9903348a64987438a (patch)
tree93ebfc2155378084003f2eb36bd9189598cae691 /fsset.py
parentd2e725e1df3b07de24566d37dfb2afe3c7a29031 (diff)
downloadanaconda-383a190ddb0648b78a0d80a9903348a64987438a.tar.gz
anaconda-383a190ddb0648b78a0d80a9903348a64987438a.tar.xz
anaconda-383a190ddb0648b78a0d80a9903348a64987438a.zip
2005-05-04 Jeremy Katz <katzj@redhat.com>
* fsset.py (HfsPlusFileSystem.__init__): Add hfs+ support. * autopart.py (growParts): Don't try to grow a partition beyond the size of the largest free space. Fixes pathological problem hit when installing a dual boot with MacOS X.
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/fsset.py b/fsset.py
index d942808c4..14d6974da 100644
--- a/fsset.py
+++ b/fsset.py
@@ -823,6 +823,16 @@ class hfsFileSystem(FileSystemType):
fileSystemTypeRegister(hfsFileSystem())
+class HfsPlusFileSystem(FileSystemType):
+ def __init__(self):
+ FileSystemType.__init__(self)
+ self.partedFileSystemType = parted.file_system_type_get("hfs+")
+ self.formattable = 0
+ self.checked = 0
+ self.name = "hfs+"
+
+fileSystemTypeRegister(HfsPlusFileSystem())
+
class applebootstrapFileSystem(hfsFileSystem):
def __init__(self):
hfsFileSystem.__init__(self)