summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-06-30 15:14:51 +0000
committerJeremy Katz <katzj@redhat.com>2006-06-30 15:14:51 +0000
commit5693d1985e853a73a1876e5206614c3c563d50f0 (patch)
tree8503984d73e28c22e4a1e3dcd162456c9603b2d3 /fsset.py
parentba28ddf8448bce97ee3a0aa0efc52b94e122a212 (diff)
downloadanaconda-5693d1985e853a73a1876e5206614c3c563d50f0.tar.gz
anaconda-5693d1985e853a73a1876e5206614c3c563d50f0.tar.xz
anaconda-5693d1985e853a73a1876e5206614c3c563d50f0.zip
2006-06-30 Jeremy Katz <katzj@redhat.com>
* fsset.py (gfsFileSystem.__init__): Can't do this until parted actually knows about it.
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index e2ec09d24..797b17d53 100644
--- a/fsset.py
+++ b/fsset.py
@@ -549,10 +549,15 @@ fileSystemTypeRegister(jfsFileSystem())
class gfsFileSystem(FileSystemType):
def __init__(self):
FileSystemType.__init__(self)
- self.partedFileSystemType = parted.file_system_type_get("gfs")
+ self.partedFileSystemType = None
self.formattable = 1
self.checked = 1
self.linuxnativefs = 1
+ if flags.cmdline.has_key("gfs2"):
+ self.supported = -1
+ else:
+ self.supported = 0
+
self.supported = 0
self.name = "gfs"