Hi,

It was recently brought to my attention that code executed in a hotplug
script, such as ptal-mlcd for the HP OfficeJet Linux driver project, does
not have standard input (fd 0) open.  In hindsight I can understand why
this would be, because one doesn't want a kernel-invoked script blocking
forever waiting for keyboard input.

My question is, are standard output (fd 1) and standard error (fd 2)
available in a hotplug script?  If so, what do they normally point to?
/dev/console, syslog, or something else?  The answer to this question
will help me make the fix to accomodate the lack of standard input.

Thanks,
David Paschal

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to