As a side bar to this conversation... I discovered that the easiest
way to get the vmcp module to load at boot time with SLES 9 is to add
it to the variable MODULES_LOADED_ON_BOOT in the file
/etc/sysconfig/kernel as in:
MODULES_LOADED_ON_BOOT="vmcp"
Then the boot script boot.loadmodules (assuming it is enabled) will do
it, and udev will automatically create the device.

I added this to a few scripts that used hcp:
if [ -x /usr/bin/vmcp -a -f /sys/class/misc/vmcp/dev ]; then
   hcpbin=/usr/bin/vmcp
elif [ -x /sbin/hcp ]; then
   hcpbin=/sbin/hcp
elif [ -x /usr/sbin/hcp ]; then
   hcpbin=/usr/sbin/hcp
else
   exit 0
fi

--
Bruce Hayden
IBM Global Services zSeries Linux
Endicott, NY

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to