> Does p9p threadpostmountsrv() listen on the network,
> if it is given a network address as the service name?

Yes, it does, but that's not 100% by design.
It's a side effect of the fact that the equivalent
of /srv is already a type of network (unix sockets)
so there is an extra program 9pserve that takes
care of announcing on the network and multiplexing
many clients onto a single 9P connection.  In Plan 9,
the kernel is expected to do that, so you'd do:

    xcpusrv -s myservice
    aux/listen1 -v tcp!*!20001 /bin/exportfs -S /srv/myservice

russ

Reply via email to