summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-06 15:00:40 +0000
committerMatt Wilson <msw@redhat.com>2000-01-06 15:00:40 +0000
commit77e10526955536dcc65b8fc484360a2e634f649e (patch)
tree3768427b6362cd60c99c1b4cb00f4aa1a5cf21a7 /fstab.py
parent2f5364beda5b899fccb1d4d95e378db0ae1a545b (diff)
downloadanaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.gz
anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.xz
anaconda-77e10526955536dcc65b8fc484360a2e634f649e.zip
merge from Alpha/SPARC branch
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/fstab.py b/fstab.py
index 85925c0a1..b9a2787c3 100644
--- a/fstab.py
+++ b/fstab.py
@@ -431,6 +431,22 @@ class Fstab:
def addMount(self, partition, mount, fsystem, doFormat = 0, size = 0):
self.extraFilesystems.append(mount, partition, fsystem, doFormat,
size)
+# XXX code from sparc merge
+# if fsystem == "swap":
+# ufs = 0
+# try:
+# isys.makeDevInode(device, '/tmp/' + device)
+# except:
+# pass
+# try:
+# ufs = isys.checkUFS ('/tmp/' + device)
+# except:
+# pass
+# if not ufs:
+# location = "swap"
+# reformat = 1
+# self.mounts[location] = (device, fsystem, reformat)
+
def mountList(self, skipExtra = 0):
def sortMounts(one, two):