summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
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