Re: How can Emacs get a unique ID per Linux reboot?

H. Peter Anvin (hpa@transmeta.com)
Mon, 31 May 1999 22:06:20 -0700


Tim Smith wrote:
>
> On 1 Jun 1999, H. Peter Anvin wrote:
> > Get the current uptime from /proc/uptime and subtract that from the
> > current time.
>
> Isn't that equivalent to using btime from /proc/stat, which they have
> already rejected, because they want a method that is accurate even if
> someone changes the date?
>

That's as good as they're going to get unless they're willing to put an
epoch counter in the startup scripts. I don't think they'll get
anything better on *ANY* machine.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/