Re: Getting boottime early in booting

From: <julian_at_freebsd.org>
Date: Sun, 05 Apr 2026 18:40:25 UTC

> On Sat, Apr 04, 2026 at 12:37:52AM -0700, Rick Macklem wrote:

For this the RTC chip was invented and connected to a battery.

I'm also guessing that you don't need "universally unique in time" but  
"different from the last boot".
I once used the information available in a system as to whether this was 
a warn or cold boot (not all systems have that but we did) along with 
low bits from the microseconds from the counter timer..  as soon as 
reality strikes that tends to become pseudorandom pretty quickly. you'll 
need a different one for each architecture to I like the suggestion to 
use the entropy collection where you can piggyback on other people's work.

julian