Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Jan 2006
#1
I just noticed that I have a /var/log/wtmp file of 32 MB! As far as I know, it only logs reboots and logins, can I safely delete this file to free up some space?
 
Posts: 3 | Thanked: 0 times | Joined on Jan 2006
#2
..just renamed the file and then deleted it, no problems so far..
 
Posts: 12 | Thanked: 1 time | Joined on Dec 2005
#3
mine is at 139k after ~ 1 month of daily use (but just few reboots).
Do you reboot often?
Anyway, in *nix OSs it is a file that can be safely deleted.

I'm just worried for the non-geeks users, some monthly cron job cleaning it should pre-installed in the 770, because, in the end, it will eventually fill up - whichever the time between your reboots...

alessandro
 
Posts: 3 | Thanked: 0 times | Joined on Jan 2006
#4
Mine is one week old, 20 reboots perhaps. Maybe the file grows only while using a shell, I don't know. But is was really 32 MB! And now it's already 142kb again.

The bad thing is that you need root access to delete the file, so it could be a time bomb..
 
Posts: 66 | Thanked: 3 times | Joined on Dec 2005
#5
2 weeks. 37M

-jason
__________________
maps.i40.com - Google maps sized for the 770 @ 150% - scroll below the map for features
ukmaps.i40.com - Google UK maps - Pan and Zoom only.
wiki.i40.com/Nokia770 - Random Nokia 770 notes.
 
Posts: 62 | Thanked: 1 time | Joined on Dec 2005
#6
My file was 27MB with a machine that is about two weeks old (counting from my last full re-flash.) Uptime about 3 days at this point.
 
Hedgecore's Avatar
Posts: 1,361 | Thanked: 115 times | Joined on Oct 2005 @ Toronto, Ontario, Canada
#7
Is it possible this thing is truncated when space is needed? I copied about 45MB worth of apps/media over to the internal card interrim before putting it on my new 512mb rsmmc and no issues... unless mine is still piddly in size. I'll check when I get home.
 
ReinhardE's Avatar
Posts: 35 | Thanked: 0 times | Joined on Dec 2005 @ München
#8
Though mine was more than 20 MB, the actual difference when doing df was a bit more than 2 MB - so this file must be easily compressible.
 
Posts: 84 | Thanked: 1 time | Joined on Jan 2006
#9
From my reading, if you delete the wtmp file, you should restart syslogd.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:07.