Some file error at boot after moving log into tmpfs - Raspberry Pi Forums


hi everyone,
moved /var/log tmpfs reduce issue on sd card source: http://www.zdnet.com/article/raspberry- ... e-sd-card/

however, there access error of files.
example run.log not created @ boot. same error.log , access.log of http server (nginx)

there way allow creation of these files usual?

ty

yellowsky wrote:
thu sep 07, 2017 4:23 am
hi everyone,
moved /var/log tmpfs reduce issue on sd card source: http://www.zdnet.com/article/raspberry- ... e-sd-card/

however, there access error of files.
example run.log not created @ boot. same error.log , access.log of http server (nginx)

there way allow creation of these files usual?

ty
could post whats in /etc/fstab ?

have used years without problem, on 512mb pi's:

code: select all

tmpfs /tmp tmpfs defaults,noatime,nosuid 0 0 tmpfs /var/log tmpfs defaults,noatime,nosuid,size=64m 0 0 


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'