diff options
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |