diff options
author | Matt Wilson <msw@redhat.com> | 2001-08-10 18:49:23 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-08-10 18:49:23 +0000 |
commit | 080fa01bbaaedcb4681b49a42e02b4eb0a9ee547 (patch) | |
tree | d4af7783c07fa011542aa24d4c45bb8f9defee80 | |
parent | 716f8abf9dfd0efca24364bf1c2ad031f1239d97 (diff) | |
download | anaconda-080fa01bbaaedcb4681b49a42e02b4eb0a9ee547.tar.gz anaconda-080fa01bbaaedcb4681b49a42e02b4eb0a9ee547.tar.xz anaconda-080fa01bbaaedcb4681b49a42e02b4eb0a9ee547.zip |
cosmic rays insert odd code that does nothing
-rw-r--r-- | fsset.py | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 |