[CLUG] files

Bobby Heffernan bobheff at esatclear.ie
Fri Feb 4 23:12:01 GMT 2000


how and when does linux write it's files to the disk?
I wrote s imple C program that's doing some caluclations for me - every
time it gets a result it writes the number to a file
when it's running and you access the file there's nothing there (even
though I know it has gotten some results)
the power went and when I restarted the machine the file was empty - I
had lost about two and a half days of number crunching
yet - if I set the program to iterate only a few times so that it gets
one or two results when it finishes (in a few seconds - doing about 500
loops) I look at the file and its got three entries (which is right)
does linux write the file to the disk only after the program has
completed?
or what??

--

_______________________
Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.
----------------------------------------






More information about the Cork mailing list