On Sat, 29.06.13 04:46, P J P (pj.pandit@xxxxxxxxxxx) wrote: > > Hi, > ----- Original Message ----- > > From: Lennart Poettering <mzerqung@xxxxxxxxxxx> > > 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 devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel