Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!wam.umd.edu!dododge From: dododge@wam.umd.edu (David O. Dodge) Newsgroups: comp.sys.apollo Subject: how does "bldt" get its information Keywords: bldt apollo undocumented Message-ID: <1991Jun25.060026.24045@wam.umd.edu> Date: 25 Jun 91 06:00:26 GMT Sender: usenet@wam.umd.edu (USENET Posting) Organization: University of Maryland at College Park Lines: 25 I've been wondering about this for quite some time, and some small experimentation hasn't revealed too much: Exactly how does the bldt program get the information to display the kernal build version/date? For example, on my node here at home it says: AEGIS2-DOMAIN/IX kernal, revision 9.7 , Wednesday, October 28, 1987 5:13:28 pm. I know it gets this from some sort of system call because if I run the 9.7 version of bldt on an SR10 node it gives me the proper version/etc. So the question is: which call does it and what's the invoking parameters? I'm pretty sure this isn't documented anywhere but has anyone figured it out? On the SR10.3 system at work I used "nm" to get a list of routines called (is there an equivalent under 9.7 *AEGIS*? ), then proceeded to replace the calls one by one with my own version (by using inlib) that printed out what came in, and proceeded to see what happened. I could get the program to crash, and I could make things like the node name disappear, but I never did figure out where that kernal string comes from. Any information appreciated... Dave Dodge/dododge@wam.umd.edu