summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-06-29 17:07:11 +0000
committerMike Fulbright <msf@redhat.com>2001-06-29 17:07:11 +0000
commit69be4366902eff5b38e9b0bbfc713a5473bec78d (patch)
tree3852a1ee71158354f04d47cd2d94158b6def66ca /fsset.py
parent7f8fafeb5e72cae0db833f0069fed7b177ccaabb (diff)
downloadanaconda-69be4366902eff5b38e9b0bbfc713a5473bec78d.tar.gz
anaconda-69be4366902eff5b38e9b0bbfc713a5473bec78d.tar.xz
anaconda-69be4366902eff5b38e9b0bbfc713a5473bec78d.zip
try sync()ing again
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/fsset.py b/fsset.py
index a1ec60af4..847a49d64 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1059,10 +1059,9 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
val = (int(l[0]) * 100) / int(l[1])
w and w.set(val)
# sync every 10%
-# XXX comment out for now because kernel seems to hang on < 256M machines!
-# if sync + 10 < val:
-# isys.sync()
-# sync = val
+ if sync + 10 < val:
+ isys.sync()
+ sync = val
num = ''
except OSError, args:
(num, str) = args