![]() |
/var/log/wtmp
This file seems to be getting very big (over 150M on my 770). If I delete it, it will get generated again by the system. I linked it to /dev/null and have noticed no ill affect. In fact I can now load complex web pages that used to force a reboot. Since I really do not care about logging on my 770, is there any downside to doing this?
|
Never mind, I found what I needed on the mailing list. That was strange. Anyway, my 770 seems to be much more stable with the wtmp file linked to null.
|
Quote:
I'm curious now what is in wtemp on this thing. I never thought to look.. |
Quote:
|
syntax
what did you enter on the command line?
i tried: ln /var/log/wtmp /dev/null but i get the error: ln: /dev/null: Invalid cross-device link not sure what to do here. any ideas? |
Quote:
rm /var/log/wtmp ln -s /dev/null /var/log/wtmp |
Quote:
|
Quote:
ls -lh /var/log/wtmp in Xterm it will display the file size. The size is at least several Megabytes, even soon after it is deleted it will grow to a large size. For a portable device with limited resources, this seems not so good. What is the size of your /var/log/wtmp? |
thanks, that did the trick.
mine is 21.5M -rw-r--r-- 1 root root 21.5M Apr 14 00:56 /var/log/wtmp btw, I am using the extrootfs script, so 21M wasn't too bad considering I have 680 free. But still, hopefully things will be a little more stable. |
I don't think these values are very significant or trustworthy. I had never heard of that file before, and when I checked after reading this on my 770 it appeared with a size of 231 MB ! Obviously not possible on a "stock" unit (no swap on MMC etc.). After deleting it and linking it to /dev/null as above I didn't see any change in memory occupation, either.
|
All times are GMT. The time now is 00:48. |
vBulletin® Version 3.8.8