On Fri, Oct 10, 2014 at 07:48:15AM +0530, Pankaj Kaushal wrote:
> Erik Verbruggen wrote:
> >
> > Hello,
> >
> > A short question: when do translators actually quit?
> well a translator with -c will stay across reboots
> and -a will not stand reboots
>
> a -a translator will be started with device access
> and will die on reboot.
>
> a active translator is a running translator
> -a will also modify a active translator.
What I meant is that a stat() for example will do an open() to get a
port to the translator. Then a close() will (should?) follow. But the
translator stays alive (and sleeping) after this. Just do a
"ls -alni /dev" and you will see the number of translators increase. Not
all of them are ever used. For example: I do have a SCSI controller, but
it's not used under GNUMach. There is a /dev entry for the disk on the
controller, and there is a translator associated with it. This
translator will be started by that ls, but it will never be used.
So the more precise question is: should translators quit when the last
reference to them is gone?
Erik.
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd