]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journald-server.h
journalctl: add new --sync switch for syncing the journal to disk
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Nov 2015 11:59:09 +0000 (12:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Nov 2015 12:39:18 +0000 (13:39 +0100)
commit94b6551662e0db8eb09768ed70f77759f322b4c6
tree6c49b11d5b62d68094dabc71b5a0634da6312ffc
parent404f08d341c6fcd5f28664902adefd069f2082cd
journalctl: add new --sync switch for syncing the journal to disk

With this new "--sync" switch we add a synchronous way to sync
everything queued to disk, and return only after that's complete. This
command gives the guarantee that anything queued before has hit the disk
before the command returns.

While we are at it, also improve the man pages and help text for
journalctl a bit.
man/journalctl.xml
man/systemd-journald.service.xml
src/journal/journalctl.c
src/journal/journald-server.c
src/journal/journald-server.h