tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern.boottime drift after boot?
On Tue, Oct 10, 2023 at 12:42:48PM +0100, David Brownlee wrote:
> I have a system which records the output of "sysctl -n kern.boottime"
> as part of a dhcpcd-exit.hook to ensure some processing only occurs
> once per boot.
>
> Except... it doesn't quite work as the value appears to not be
> constant for a given boot.
It's adjusted in step with the system clock, see settime1() in kern_time.c.
Home |
Main Index |
Thread Index |
Old Index