On Sat, 29.06.13 04:46, P J P (pj.pandit(a)yahoo.co.in) wrote:
Hi,
----- Original Message -----
> From: Lennart Poettering <mzerqung(a)0pointer.de>
> Subject: Re: logrotate(8) and copytruncate as default
>
> journald is the only writer, it doesn't need locking. The changes it
> does are done in a way so that concurrent readers will either see the
> changes or not, but never half-written changes.
I see. How is that done? Does journald also renames the current file and
creates a new one and continues writing to that new file??
It will create a new file and rename the old one.
Lennart
--
Lennart Poettering - Red Hat, Inc.