Manfred Spraul wrote:
Bruce Momjian wrote:
Which basically shows one fsync, no O_SYNC's, and setting of the flag only for klog reads.
Which sysklogd do you look at? The version from RedHat 9 contains this block:
I looked on NetBSD, FreeBSD, and BSD/OS.
Bruce, I've asked around in Red Hat and that was the answer. I confess I did not understand if "upstream" means the Linux community or the syslogd source...
Anyway, do you have recent FreeBSD or NetBSD sources?
Regards, Fernando
--------------------------------------------------------------------------- Fernando Nasser ([EMAIL PROTECTED]) said:
>> It seems that our syslogd fsyncs on each write, while the NetBSD, >> FreeBSD, and BSD/OS ones don't.
Standard upstream behavior, been that way pretty much forever. As for any reason why, it's probably tradition at this point.
As mentioned, you can configure it away for any log that you don't want it.
---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]