From: One day when we were young (cp76@solar.csie.ntu.edu.tw)
Date: 05/18/93


From: cp76@solar.csie.ntu.edu.tw (One day when we were young)
Subject: Re: No sync in linux DOS file system ??
Date: Tue, 18 May 1993 10:42:49 GMT

One day when we were young (cp76@solar.csie.ntu.edu.tw) wrote:
: 0. Kill any memory-hungry process (eg. xv). The problem occurs on both PCs
: with 8 & 16 mega RAM. 4 mega PC may not have this problem since the file
: cache is small.
: 1. copy a small file to the dos file system.
: 2. sync and umount the dos file system
: 3. Run the dosemu. You will not see the file you copied under dosemu.
: 4. Mount the dos file system again. You will find that the file is indeed
: in the dos file system.

I forgot to mention you should run dosemu in the step 0.
                               ^^^^^^^^^^^^^^^^^^^^^^^^
Well,
I found it's the bug of both dosemu and DOS. Dosemu(0.48p1) only clear the
first 32K memory. And DOS(stupid) use the memory without clearing it first.
It is the reason you should run dosemu in the step 0.

After adding memset function to clear the 2M memory, the bug is gone.

It's my mistake. I am sorry.

Edward Der-Hua Liu
dhliu@solar.csie.ntu.edu.tw