Re: 回复: systemd-devel Digest, Vol 137, Issue 26

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 22.09.21 21:34, krave1986121@xxxxxxxxx (krave1986121@xxxxxxxxx) wrote:

> So, can I assume that journalctl --flush is for Linux internal processes not
> for end users?

Yes, pretty much.

(Well, I mean, there are scenarios you could think where you want to
tell journald to temporarily switch to volatile logging via "journalctl
--relinquish-var", then do something with /var/log (like replace it,
backup it, overmount it, whatever), and then eventually want to switch
back to using it, which you then can do with "journalctl --flush".

Lennart

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux