a***@9srv.net
2013-04-09 20:56:12 UTC
This came up in #plan9, and I reduced it to this example:
:; mkdir cat dog pig
:; echo meow > cat/tabby
:; echo woof > dog/mutt
:; bind cat pig
:; bind dog/mutt pig/tabby
:; cat cat/tabby
woof
That is not what I'd expect, and certainly not what the 9fan
originally asking the question expected. I presume this is
because the device and qid match, but can't track down
exactly where. Is this because the path from Qids, instead
of Chans, is being used in /sys/src/9/port/chan.c?
Anthony
:; mkdir cat dog pig
:; echo meow > cat/tabby
:; echo woof > dog/mutt
:; bind cat pig
:; bind dog/mutt pig/tabby
:; cat cat/tabby
woof
That is not what I'd expect, and certainly not what the 9fan
originally asking the question expected. I presume this is
because the device and qid match, but can't track down
exactly where. Is this because the path from Qids, instead
of Chans, is being used in /sys/src/9/port/chan.c?
Anthony