On Thu, Oct 13, 2005 at 08:12:57AM +0800, John Summerfied wrote: > David Boyes wrote: > > > > >If process acquires lock on /sysfs/zvm/diag/8/lock (ie flock succeeds), > >then > >write CP command into cmdstring to prepare for call. Once parameters are > >loaded, open of /dev/diag8 and write a 1 to /dev/diag8 to execute the > > I don't understand why you would use a device for this which seems to me > is just another control function. Doesn't this function belong in sysfs too?
Because sysfs exposes attributes. Everything that's a request / reponse call to some underlying layer (be it hardware or software) is fundamentally ill-suite for sysfs. ---------------------------------------------------------------------- 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
