1
OESF Wiki / Re: A grand repository of Gemini how-tos is needed
« on: August 07, 2023, 01:20:20 pm »
BTW, rather than make /var/log be a symlink, it's better to use "mount" with the "bind" option, so that a different file system is mounted over the top.
that way if there's a problem with boot, there's a failsafe as the /var/log directory will still work. Add a startup to do the mount-bind and then restart the syslog process and/or systemd journald so as to drop the file handles on the normal /var/log and use the new file system.
so something like
just my 2c
that way if there's a problem with boot, there's a failsafe as the /var/log directory will still work. Add a startup to do the mount-bind and then restart the syslog process and/or systemd journald so as to drop the file handles on the normal /var/log and use the new file system.
so something like
Code: [Select]
mount -o bind /storage/external-sd-card/var/log /var/log
systemctl restart syslogd
systemctl restart journald
just my 2c