Re: Getting boottime early in booting
- Reply: Rick Macklem : "Re: Getting boottime early in booting"
- In reply to: Rick Macklem : "Getting boottime early in booting"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Apr 2026 08:52:23 UTC
Rick Macklem <rick.macklem@gmail.com> writes: > 1 - I need a value that will be different each time the machine boots. > I would normally use getboottime(), but for the NFS root fs mount, > it just returns 0. > Any ideas w.r.t. something I can acquire early in booting that will > change each time the system is booted? Just use arc4random(9). DES -- Dag-Erling Smørgrav - des@FreeBSD.org