[Buildroot] - Question: How to change safely /var/log --> /tmp in buildroot

Marko Stanisic sankerspace at gmail.com
Thu Apr 8 13:41:55 UTC 2021


Hello,

I have no clue how  the symlink  /var/log --> ../tmp is statically 
defined. (in buildroot)

I need  to change this behaviour safely, so that /var/log is mounted 
onto our log partition, i already tried the following:

     mount /dev/mmcblk0p9 /var/log

but then (due to the symlink) /dev/mmcblk0p9 is mounted on /tmp ,and the 
mount to the tmpfs (RAM) is vanished.


Is there maybe a better solution (best practice) to solve that problem?

Thank you for every proposal,

Marko Stanisic




More information about the buildroot mailing list