David Brownell wrote:
> I'd expect them to be connected to nothing at all ...
So in other words you're saying that a program executed from a hotplug script
receives no open file descriptors (i.e. for stdin/stdout/stderr) the way it
would if it were executed from a normal shell prompt or startup script?  I
guess that makes sense, although it does break some long-held assumptions
about the startup state of a user-mode process in Unix-like operating systems.

> you can point them at other things if you want.
And that would be done by explicitly redirecting them on the command line
in the hotplug script, or by using open() or dup2() in the code.

> p.s. Got a pointer to "ptal-mlcd" ? :)
Sorry.  ptal-mlcd is the daemon implementing the MLC and 1284.4 transport
protocols over parallel and USB.  It's in the HP OfficeJet Linux driver's
CVS repository, and the project URL is "http://hpoj.sourceforge.net";.

David

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

Reply via email to