[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Full-time developer available

From: Samuel Thibault
Subject: Re: Full-time developer available
Date: Thu, 17 Sep 2015 01:06:41 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Diego Nieto Cid, le Wed 16 Sep 2015 22:12:19 +0000, a écrit :
> I'm not sure you can service two files with the same translator instance, at
> least with the settrans tool.

You can, see /servers/socket/{2,26} or /dev/[pt]typ0.  The trick is to
tell each entry where the other entry is as a command-line option.

> Except for how to know which one the send right was obtained from in
> the translator when a message from a client comes?

term is probably easier to have a look at: see the file_set_translator
call in hurd/term/main.c.  The idea is that the translator attaches
itself as an active translator on the other node.  Since it explicitly
create another control port, it can serve things differently there.

> What comes to mind, is that a translator can serve a directory and the nodes
> inside it. The console does it, IIRC.

Yes.  Perhaps it'd be easier.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]