Adam Thornton wrote:
> 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.
That would be limited to a single user as far as I can see. What if
script A wants to set buffer size to 1024 then execute its favorite
command while script B wants to set buffer size to 4096 then execute
its command? This is racy!
--

Carsten Otte
IBM Linux technology center
ARCH=s390

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