I am trying to get a plan9 box to serve a seccond
private network, /net.priv (I already use /net.alt for other things).

I can duplicate cs, dns, tftp dhcp etc on the seccond network (dns resolving
not withstanding) but I haven't worked out how to teach fossil to listen to
anything but the default network.

I tried this (from fossil console):

        listen /net.priv/tcp!*!564
        listen: announce '/net.priv/tcp!*!564': announce opening 
/net.priv/tcp/clone: '/net.priv' file does not exist

As this machine boots from fossil, this is started before the seccond network
and thus /net.priv/tcp is not in fossil's namespace.

Then I tried this:

        listen /net.priv/tcp!*!564
        listen: announce '#I1/tcp!*!564': announce opening /net/#I1/tcp/clone: 
'/net/#I1' file does not exist

It seems I could hack libc here:

        /sys/src/libc/9sys/announce.c:221

to test for a leading' /' or '#', but that feels a bit hackish.

Anyone think a better way round this?

-Steve

Reply via email to