From 69be4366902eff5b38e9b0bbfc713a5473bec78d Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Fri, 29 Jun 2001 17:07:11 +0000 Subject: try sync()ing again --- fsset.py | 7 +++---- 1 file 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 -- cgit