Answer the question
In order to leave comments, you need to log in
There is a linux distribution that is installed on a flash drive, how to get rid of new entries in the /var/log/* files but leave the logs?
linux (bodhi_2_4_0) put in one partition, no swap.
made an entry in fstab
tmpfs /mnt/tmpfs tmpfs noatime,nodiratime,nodev,nosuid,size=100M 0 0
created a folder in /mnt/tmpfs
made #mount /mnt/tmpfs
files are thrown there, disappear after reboot. as intended.
command #lsof +D /var/log/ gave me the processes/services/daemons that need to be reconfigured
rewrote their configuration files to /mnt/tmpfs
but damn it, no log files are created there!
maybe the mount happens too late when the OS boots?
what did you do?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question