log.hdd to real HDD?

Recommended Posts

What is the supported way, if any, to redirect /var/log.hdd to a directory located on a real HDD drive?


One of my systems has an eMMC to boot and operate from, and a HDD hooked up on the USB3 port. "Ideally" I'd like to use only the HDD, but the poor/incomplete USB3 boot support on the Rock64 V2 (with Bionic at least) had me to buy an eMMC and live quietly with it. As it is, I'd like to move out of the eMMC all the data that is either written often, or that it could get bigger with time passing. For the logs, however, I don't think to have found a clean way to support the relocation of /var/log.hdd on a different drive/partition, unless I hack the armbian-ramlog script (something I *don't* want to do). Or I could disable completely the log2ram feature.



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.