Re: [maemo-developers] Zapped wtmp...

2006-04-13 Thread Kimmo Hämäläinen
Hi, We have a 'temp reaper' daemon for deleting some temporary files that have not been used for some time (e.g. temporary E-mail attachments): https://stage.maemo.org/svn/maemo/projects/haf/trunk/osso-af-utils/src/temp-reaper.c It only seems to clear '/var/tmp' currently. I don't know why we

Re: [maemo-developers] Zapped wtmp...

2006-04-13 Thread Jonathan Matthews-Levine
On 4/13/06, Kimmo Hämäläinen [EMAIL PROTECTED] wrote: Hi, We have a 'temp reaper' daemon for deleting some temporary files that have not been used for some time (e.g. temporary E-mail attachments): https://stage.maemo.org/svn/maemo/projects/haf/trunk/osso-af-utils/src/temp-reaper.c It only

Re: [maemo-developers] Zapped wtmp...

2006-04-13 Thread Nils Faerber
Kimmo Hämäläinen schrieb: Hi, Hi! We have a 'temp reaper' daemon for deleting some temporary files that have not been used for some time (e.g. temporary E-mail attachments): https://stage.maemo.org/svn/maemo/projects/haf/trunk/osso-af-utils/src/temp-reaper.c Interesting... It only seems

Re: [maemo-developers] Zapped wtmp...

2006-04-13 Thread Nils Faerber
Jonathan Matthews-Levine schrieb: On 4/13/06, Kimmo Hämäläinen [EMAIL PROTECTED] wrote: We have a 'temp reaper' daemon for deleting some temporary files that have not been used for some time (e.g. temporary E-mail attachments):

Re: [maemo-developers] Zapped wtmp...

2006-04-13 Thread Andrew Flegg
On 4/13/06, Nils Faerber [EMAIL PROTECTED] wrote: Interestingly an older firmware image (W48-someting) did not write a wtmp! Just checked on another not yet updated device. So this must have been intriduced somewhere between W48 and W52. My W42 device has not yet been reflashed and has a wtmp

Re: [maemo-developers] Zapped wtmp...

2006-04-12 Thread Michael Saunby
Message - From: Nils Faerber [EMAIL PROTECTED] To: maemo-developers@maemo.org Sent: Wednesday, April 12, 2006 3:34 PM Subject: [maemo-developers] Zapped wtmp... Hi! I thought I should let you know... I am not sure if I really found any cure to anything but after the latest discussions about

Re: [maemo-developers] Zapped wtmp...

2006-04-12 Thread Santeri Lindgren
Michael Saunby wrote: I don't know about JFFS2 but back in the old days before Linux yuo could be pretty sure that a Unix filesystem didn't waste space storing null bytes. Wtmp and other system files (databases?) take advantage of this. Now you've made me aware of this I've deleted

Re: [maemo-developers] Zapped wtmp...

2006-04-12 Thread Michael P. Lococo
There's no need to link it to anything. If the file isn't there, then logging is turned off - at least that's what should happen. Wrong, this just deletes everything that is stored prior to this. And no, what you assume is wrong. Of course the log files should be erasable, and if user

Re: [maemo-developers] Zapped wtmp...

2006-04-12 Thread Santeri Lindgren
Michael P. Lococo wrote: There's no need to link it to anything. If the file isn't there, then logging is turned off - at least that's what should happen. Wrong, this just deletes everything that is stored prior to this. And no, what you assume is wrong. Of course the log files should be