Does anybody know how to stop SuSE 9 from writing data to the hard disk
of >> my laptop so very often. Basically, if you have done this already yourself, >> and are quite familiar with the set of things that need to be done and how >> to do them, please get in touch with me. I have changed a couple of >> settings that helped (I'm not usre if these changes were durable from one >> session to the next) that helped but I can't remember what I changed, so I >> probably need to re-visit this topic myself and post some more useful info >> to help with this query. I think I changed the percentage of a buffer that >> could be used up before it had to be written to disk, and another thing or >> two also, but I can't remember more now. Anyway, I thought someone might >> actually know everything off by heart, and could pass it on. One thing that always catches me out is the -- Mark -- that gets written to / var/log/messages every 20 mins by syslog. On SuSE I fix this by editing a line in /etc/sysconfig/syslog
SYSLOGD_PARAMS="-m 0" Not sure if that is the "proper" place to change such a thing, but at the time working backwards from when syslog gets started by it's init script it seemed like the most logical place.
I leave it in place for desktops and servers though, I have in the past known
[ALUG] hard disc and laptop
References: 20040210062529.19279.51982.Mailman@terry.blackcatnetworks.co.uk In-Reply-To: 20040210062529.19279.51982.Mailman@terry.blackcatnetworks.co.uk Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit
Wayne Stallwood wrote:
One thing that always catches me out is the -- Mark -- that gets written to /var/log/messages every 20 mins by syslog. On SuSE I fix this by editing a line in /etc/sysconfig/syslog
SYSLOGD_PARAMS="-m 0"
On Slackware 9.1, there's a line in /etc/rc.d/rc.syslog which reads '/usr/sbin/syslogd'; appending '-m 0' to it stops the '--MARK--' entries appearing, too.
The value following the '-m' controls the interval at which --MARK-- gets written, so if you wanted to maintain the --MARK-- but have it occurring less frequently, presumably you could set this value appropriately.
Gerald.