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

Bernd Eckenfels (ecki@lina.inka.de)
Wed, 2 Jun 1999 02:54:45 +0200


In article <Pine.SOL.3.96.990601102606.11669A-100000@church.cse.ogi.edu> you wrote:
> I think that just observing the modification time on /var/run/random-seed
> should do the trick. /var/run/random-seed is only written on shutdown and
> re-written on start-up by the script /etc/rc.d/init.d/random.

Well, you can use the start time of init (tsk->start_time) as you can read
it from /proc/1/stat, but I am not sure if emacs should depend on /proc.

Greetings
Bernd

-
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/