[Mailman-Developers] Problem with MM after power outage

Brad Knowles brad.knowles at skynet.be
Mon Aug 25 11:15:04 EDT 2003


At 6:06 PM -0400 2003/08/19, Barry Warsaw wrote:

>>  ok, but how do you make sure the file is really on disk instead of,
>>  e.g., half on disk and half on cache?
>
>  We close the file before we rename it.

	Do you fsync() the directory after the close and before the rename?

-- 
Brad Knowles, <brad.knowles at skynet.be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.

GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+
!w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++)
tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)



More information about the Mailman-Developers mailing list