On Sat, 29.06.13 04:46, P J P ([email protected]) wrote:

> 
>   Hi,
> ----- Original Message -----
> > From: Lennart Poettering <[email protected]>
> > 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.
-- 
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to