From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <00fb0ebd4d792996dce87ee1b473e8c7@9srv.net> References: <00fb0ebd4d792996dce87ee1b473e8c7@9srv.net> Date: Sun, 7 Apr 2013 09:40:12 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=bcaec52c5e65c76e7904d9c14421 Subject: Re: [9fans] Fsctotum per user instances? Topicbox-Message-UUID: 3efe4722-ead8-11e9-9d60-3106f5b1d025 --bcaec52c5e65c76e7904d9c14421 Content-Type: text/plain; charset=UTF-8 an auth/factotum is started by some initialisation code when you boot and log in to your terminal. on the cpu server, the same is true for the host owner (the owner of the cpu service), but then when you cpu(1) into a cpu server, your profile has a switch on the service environment variable, which is "cpu" for an incoming cpu call: h% cat $home/lib/profile ... switch($service){ case terminal ... case cpu ... bind /mnt/term/mnt/factotum /mnt/factotum ... } within cpu, the terminal's name space is available at /mnt/term, so it simply binds the /mnt/factotum in that name space onto /mnt/factotum in the cpu server, so you have all your keys. Note that this is a simple way in which the use of file servers to provide system services and resources, combined with 9P to import and export them, allows an interesting function to be provided without having any further code or special protocols. --bcaec52c5e65c76e7904d9c14421 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
an auth/factotum is started by some initialisation co= de when you boot and log in to your terminal.
on the cpu server, = the same is true for the host owner (the owner of the cpu service),
but then when you cpu(1) into a cpu server, your profile has a switch on th= e service environment variable,
which is "cpu" fo= r an incoming cpu call:

h% cat $home/lib/profile
...
switch($service){
case terminal
...
case cpu
=
...
bind /mnt/term/mnt/factotum /= mnt/factotum
...
}

within cpu, the terminal&= #39;s name space is available at /mnt/term, so it simply binds the /mnt/fac= totum
in that name space onto /mnt/factotum in t= he cpu server, so you have all your keys.

Note that this is a simple = way in which the use of file servers to provide system services and resourc= es,
combined with 9P to import and export them= , allows an interesting function to be provided without having
any further code or special protocols.
--bcaec52c5e65c76e7904d9c14421--