--- partimage-0.6.4/src/client/misc.cpp.pix 2004-02-05 21:19:00.000000000 +0100 +++ partimage-0.6.4/src/client/misc.cpp 2005-01-21 11:43:19.439462188 +0100 @@ -294,6 +294,8 @@ nRes = fwrite(mbrOriginal[dwOriginalMbrNb].cData+MBR_SIZE_BOOT, MBR_SIZE_TABLE+2, 1, fDevice); // table + 0xAA55 } + fflush(fDevice); + // re-read partition table if (ioctl(fileno(fDevice), BLKRRPART)) {