diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-11-08 23:52:07 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-11-08 23:52:07 +0000 |
commit | 8c7d35b6a2f28e049de3d6a88f23f66526b7ae7b (patch) | |
tree | 55bcf00811142614a6f83c4eca5803b8a11c44f6 /fsset.py | |
parent | 775354d50b0917f6e9e2fea146f0fbd7ecb0169b (diff) | |
download | anaconda-8c7d35b6a2f28e049de3d6a88f23f66526b7ae7b.tar.gz anaconda-8c7d35b6a2f28e049de3d6a88f23f66526b7ae7b.tar.xz anaconda-8c7d35b6a2f28e049de3d6a88f23f66526b7ae7b.zip |
more steps towards enabling xfs support based on patches from
Ajay Ramaswamy <xfs@ramaswamy.net>. this set of changes adds the xfs
module and utilities to our various lists and makes 'linux xfs' have xfs
available
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -397,9 +397,20 @@ class xfsFileSystem(FileSystemType): self.name = "xfs" self.maxSizeMB = 1024 * 1024 self.maxLabelChars = 12 - # we don't even have the module, so it won't be mountable... but - # just in case - self.supported = 0 + # this is totally, 100% unsupported. Boot with "linux xfs" + # at the boot: prompt will let you make new xfs 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, " xfs") != -1: + self.supported = -1 + else: + self.supported = 0 + del f + except: + self.supported = 0 def formatDevice(self, entry, progress, chroot='/'): devicePath = entry.device.setupDevice(chroot) |