From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22122 invoked from network); 28 Apr 1999 18:29:23 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Apr 1999 18:29:23 -0000 Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA25212 for ; Wed, 28 Apr 1999 14:00:00 -0400 Received: (from wathey@localhost) by helmholtz.salk.edu (8.7.5/8.7.3) id KAA20767 for axp-list@redhat.com; Wed, 28 Apr 1999 10:59:58 -0700 (PDT) Date: Wed, 28 Apr 1999 10:59:58 -0700 (PDT) From: Jack Wathey Message-Id: <199904281759.KAA20767@helmholtz.salk.edu> To: axp-list@redhat.com Subject: how to get at SRM flash ROM? Here's an esoteric question for the SRM gurus in the audience. As you know, the SRM has some handy environment variables that live in the flash ROM. These store default strings for the boot device, kernel arguments, etc. My question: Is there any way to read and write the values in these SRM environment variables from a C program running under Linux (i.e., after the kernel has booted and the system is up and running)? If so, how? The reason I ask is that I have a 16-node cluster of LX machines, all but one of which is headless, and there are occasions when it would make life a lot simpler if I could change the SRM environment variables from a C program under Linux, rather than manually at the SRM prompt. TIA, Jack