Jason Thorpe wrote: > > Is it worth keeping the boottime symbol about so that a netbsd-9 vmstat > > binary will still work with a -current kernel? We could possibly wrap > > boottime with a COMPAT_90 check too?. > > Define "work". A dummy symbol would have no valid contents. I guess > if you call that "work" then go ahead? > > The real problem here is that vmstat insists on finding the kernel > symbols even if it's not going to use them, which is kind of silly.
That is indeed the silly(TM) thing. Against a live kernel, it just needs the boottime symbol to exist. It uses the kern.boottime sysctl to get the boottime from a live kernel. Cheers, Simon.