Thread
:
View logs on n900?
View Single Post
maemo.it
2010-12-25 , 01:03
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#
12
Originally Posted by
michaaa62
You are not deleting your syslog but writing zeros to it.
yes I know. I've to do this because if I delete the file syslog, maemo can't re-create a new syslog file untill I restart the system.
Same situation if I delete syslog and immediately after I create a new syslog, for some reason unknown to me, maemo doesn't write inside my new syslog. you can verify this cases using command: ll /var/log/syslog
In the 1st case system will return to you "no such file or directory", in the 2nd case system will return to you 0 bytes, both cases these situations will doesn't change untill you'll restart the system!
I can only empty inside syslog when it filling my rootfs partition to avoid block. after some seconds after empty, maemo begins to rewrite inside it again so I can have under control continuatively my system without block problem. this is the reason why I use that command in my script.
anyway...if I execute manually my script as root it works...while from fcrontab it doesn't work!
I don't understand why!!!
__________________
If you found my post useful please thank me, I appreciate!
Last edited by maemo.it; 2010-12-25 at
01:13
.
Quote & Reply
|
maemo.it
View Public Profile
Send a private message to maemo.it
Find all posts by maemo.it