[klibc] [PATCH] sysinfo() support

Kay Sievers kay.sievers at vrfy.org
Tue Apr 6 01:19:06 PDT 2004

On Mon, Apr 05, 2004 at 12:36:37PM -0700, H. Peter Anvin wrote:
> Kay Sievers wrote:
> > Here is what we need for udev to get the seconds since uptime.
> > It implements the linux sysinfo system call.
> > 
> Why does udev need this info?

We need a monotonically increasing time source independent from the
system time. The hotplug events are tagged with a timestamp to
determine its age for timeout handling. If we use time() or similar and
the init scripts are running ntpdate or changing the timezone from a
localtime BIOS clock, set by some other stupid OS, udev gets confused.
So I use the uptime seconds now, any better idea?


More information about the klibc mailing list