<html><head></head><body><div class="ydpe02cf83fyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div><br></div><div><br></div>
</div><div id="ydp703970eeyahoo_quoted_8336783757" class="ydp703970eeyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Pe duminică, 16 august 2020, 20:00:10 EEST, Lennart Poettering <lennart@poettering.net> a scris:
</div>
<div><br></div>
<div><br></div>
<div>On So, 16.08.20 16:35, ionut n (<a shape="rect" href="mailto:ionut_n2001@yahoo.com" rel="nofollow" target="_blank">ionut_n2001@yahoo.com</a>) wrote:<div class="ydp703970eeyqt9271847157" id="ydp703970eeyqtfd41745"><br clear="none"><br clear="none">><br clear="none">> Hi SystemD Team,<br clear="none">><br clear="none">> One question.<br clear="none">><br clear="none">> Is it possible with systemd-journalctl to change the location to save logs in other location?<br clear="none">><br clear="none">> My system is volatile (tmpfs) and I have another location available to keep certain logs.<br clear="none">><br clear="none">> - /dev/root or / is tmpfs<br clear="none">> - /external-persistent0 is ext4 or xfs<br clear="none">><br clear="none">> I would like to save the logs here:<br clear="none">> /external-persistent0/journal<br clear="none">><br clear="none">> Is it possible to do this?<br clear="none">> In the current documentation for journalctl I have not seen anything about this.<br clear="none">> Thank you and have a good day to the whole team.</div><br clear="none"><br clear="none">Use bind mounts or symlinks.<br clear="none"><br clear="none">In systemd we think it's important that the same resources are<br clear="none">available under the same path as much as possible. Where that path<br clear="none">ultimately points to (by means of symlinks or bind mounts) doesn't<br clear="none">matter to us much, we just think it's much simpler if the paths stay<br clear="none">fixed and are useful universal identifiers, even if the stuff behind<br clear="none">them is actually placed somehere else.<br clear="none"><br clear="none">Lennart<br clear="none"><br clear="none">--<br clear="none">Lennart Poettering, Berlin</div><div><br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">I understand, but there is no option or any parameter in systemd to not do through mount?</span></span><br></div><div dir="ltr" data-setdir="false"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span>Is there no other solution?</span><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></div><div><br></div><div><br></div><div><br><div class="ydp703970eeyqt9271847157" id="ydp703970eeyqtfd27434"><br clear="none"></div></div>
</div>
</div></body></html>