On Wed, Jul 21, 2021 at 1:32 PM Xiao-Yong Jin <meta.jxy@gmail.com> wrote:
> On Jul 21, 2021, at 12:16 PM, Dan Cross <crossd@gmail.com> wrote:
>
> Nothing prevents you from invoking u9fs over an SSH connection; one needn't run it from inetd, and I doubt anyone has in 20 years.

You are right.  In that case, the only difference is just that,
citing hiro,

        yes it's a lot of back and forth, but ssh only is needed for running
        the process, the data afterwards can use 9p directly.

It's unclear what that's supposed to mean. There's obviously still a transport involved; in one case, that's over (I presume) TLS over a TCP connection owned by drawterm, in the other, it's a bitstream running over the SSH protocol over TCP. In the former case, if the drawterm process on the Linux side dies for whatever reason, your imported resources disappear. In the latter, if the sshd or u9fs die, same.

Overall, this seems like abusing drawterm to do what u9fs (or other, similar userspace 9P servers) was (were) intended to do.

        - Dan C.