From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tom Linden Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: g(s)etsysinfo ? Date: Wed, 17 Dec 2003 07:02:35 -0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <59D329179202B34EB238D02C6368A95B10C59A@tab-mail1.tessco.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1071674076 22923 80.91.224.253 (17 Dec 2003 15:14:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2003 15:14:36 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Dec 17 16:14:33 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AWdNh-0006Uj-00 for ; Wed, 17 Dec 2003 16:14:33 +0100 Original-Received: (qmail 22034 invoked by uid 5); 17 Dec 2003 15:14:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22019 invoked by uid 49493); 17 Dec 2003 15:14:26 -0000 Original-Received: from tom@kednos.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-3.1/5.0):. Processed in 0.73142 secs); 17 Dec 2003 15:14:26 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Dec 2003 15:14:25 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HQ1009W7OZZ1F@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 17 Dec 2003 10:14:25 -0500 (EST) Original-Received: from FREJA.KEDNOS.COM (mail.kednos.com [206.55.236.242]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HQ100386OZUX6@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 17 Dec 2003 10:14:19 -0500 (EST) Original-Received: from hyrrokkin (206.55.236.250) by FREJA.KEDNOS.COM (MX V5.3 An1f) with SMTP for ; Wed, 17 Dec 2003 07:14:17 -0800 In-reply-to: <59D329179202B34EB238D02C6368A95B10C59A@tab-mail1.tessco.com> Original-To: Tru64 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:6047 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6047 Not sure how to summarize this since I may have been a bit vague in my question. What I was hoping to learn was how consvar worked so that I might try to write the same thing for VMS. But as several pointed out it is rather platform specific, in some ways. However, what makes it plausible is that a lot remains constant in SRM. These system routines do appear to be the mechanism to access/modify SRM, as may be indicated by running strings on the executable as suggested by Alan Rollow. Looking in /usr/sys/include/arch/alpha/prom.h there is a further indication of SRM and system specific variable (thanks to Alan Davis) Thanks also to To Blinn. >Looking at consvar, it appears that it uses these system calls. > >I was looking for the includes files were the actions were defined >such as, auto_action, bootdef_dev, and so on, but couldn't find them. > >Are they perhaps hard coded? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.548 / Virus Database: 341 - Release Date: 12/5/2003