summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-08-10 18:49:23 +0000
committerMatt Wilson <msw@redhat.com>2001-08-10 18:49:23 +0000
commit080fa01bbaaedcb4681b49a42e02b4eb0a9ee547 (patch)
treed4af7783c07fa011542aa24d4c45bb8f9defee80 /fsset.py
parent716f8abf9dfd0efca24364bf1c2ad031f1239d97 (diff)
downloadanaconda-080fa01bbaaedcb4681b49a42e02b4eb0a9ee547.tar.gz
anaconda-080fa01bbaaedcb4681b49a42e02b4eb0a9ee547.tar.xz
anaconda-080fa01bbaaedcb4681b49a42e02b4eb0a9ee547.zip
cosmic rays insert odd code that does nothing
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index 9d074f7bd..b192e79a0 100644
--- a/fsset.py
+++ b/fsset.py
@@ -246,7 +246,20 @@ class reiserfsFileSystem(FileSystemType):
self.formattable = 1
self.checked = 1
self.linuxnativefs = 1
- self.supported = 0
+ # this is totally, 100% unsupported. Boot with "linux reiserfs"
+ # at the boot: prompt will let you make new reiserfs filesystems
+ # in the installer. Bugs filed when you use this will be closed
+ # WONTFIX.
+ try:
+ f = open("/proc/cmdline")
+ line = f.readline()
+ if string.find(line, " reiserfs") != -1:
+ self.supported = 1
+ else:
+ self.supported = 0
+ del f
+ except:
+ self.supported = 0
self.name = "reiserfs"
self.maxSize = 2 * 1024 * 1024