On Oct 11, 2005, at 1:28 PM, Rob van der Heij wrote:
Would it be terribly ugly to have a command that outputs the CP return
code for the most recently issued vmcp command? The would avoid the
issues with one-byte return code and separate the Linux return code
from the CP response.


I don't know if this would be considered an abuse of sysfs, but,
presuming that you'd have something like

/sys/devices/diagnose

Then for this you could just

cat /sys/devices/diagnose/8/status

In the same directory, you could have buffer_size, command, and so
forth.

Adam

----------------------------------------------------------------------
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