bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting uptimed: Usage of daemon and replacement of NOFILE


From: Michael Banck
Subject: Re: Porting uptimed: Usage of daemon and replacement of NOFILE
Date: Tue, 1 Nov 2011 14:31:23 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Tue, Nov 01, 2011 at 11:49:48AM +0100, Svante Signell wrote:
> In package uptimed-0.3.16 the following function is defined:

BTW, I had a look at uptimed before, and the main problem I faced
(IIRC), was making it crash safe.  uptimed is writing the current uptime
into a file, and even on GNU/Linux with ext3 or so I had some issuse
with corrupted uptime files after reboot.

Parsing those files is the main point, so writing them safely is
important.  I don't remember whether the code for that is
platform-dependent though.


Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]