From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9b825d16c72019f5b651b2f73c48228e@quintile.net> From: "Steve Simon" Date: Fri, 27 Jan 2012 13:12:01 +0000 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] fossil listening on /net.alt? Topicbox-Message-UUID: 61dca578-ead7-11e9-9d60-3106f5b1d025 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