Hey Mark, how about a full copy of the script ??

Ken Dreger


At 03:44 PM 1/10/2003 -0500, you wrote:
Apply this patch to it:
--- iplvol.orig Fri Jan 10 15:42:05 2003
+++ iplvol      Fri Jan 10 15:42:31 2003
@@ -33,6 +33,6 @@

 subchannel=`get_subchannel`

-iplvol=`grep " $subchannel" /proc/subchannels | cut -f 1 -d" "`
+iplvol=`grep -i " $subchannel" /proc/subchannels | cut -f 1 -d" "`
 echo "IPL volume was device number $iplvol"


Mark Post

-----Original Message-----
From: Jim Sibley [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 3:39 PM
To: [EMAIL PROTECTED]
Subject: Re: IPL device number


You have a bug in the iplvol.sh script

When the subchannel is returned to the variable "subchannel", it should be
translated to upper case as the values in /proc/subchannels are in hex and
upper case.

On my SuSE SLES7 2.4.7 system LPAR, the value returned is "0be7", but the
value in /proc/subchannel is "0BE7"

Regards, Jim
Linux S/390-zSeries Support, SEEL, IBM Silicon Valley Labs
t/l 543-4021, 408-463-4021, [EMAIL PROTECTED]
*** Grace Happens ***
Ken Dreger
Consultant in OS390, z/OS Systems,
Linux 390 systems, Web page consulting,
High Tech Investigations
Home pages: www.ken.dreger.com
Our Santa site: www.acornartists.com
The PI site: www.laprivateeye.com
My RedHat system: kendreger.dns2go.com
Contracting services available at reasonable rates
Contact: [EMAIL PROTECTED]

Reply via email to