This was exactly what I was trying to do, thank you very much. It works just fine in 9vx. Saludos
2009/4/21, Anthony Sorace <ano...@gmail.com>: > On Tue, Apr 21, 2009 at 07:17, Mathieu Lonjaret wrote: > // Running 9vx is not exactly the same as running a cpu/file server... > > This is certainly true, but isn't really relevant here. > > If you're looking to do ad hoc sharing, the easiest way is probably > with listen1, exportfs, and import. I just tested this in two 9vx > instances on the same machine (which already had my normal one > running): > > 9vx 1: > :; 9fs wiki > post... > :; ls /mnt/wiki | wc > 235 235 6413 > :; aux/listen1 -tv 'tcp!*!12345' /bin/exportfs > > (the -v isn't really needed there) > > 9vx 2: > :; ls /mnt/wiki > :; import -A tcp!localhost!12345 /mnt/wiki > :; ls /mnt/wiki | wc > 235 235 6413 > > aux/listen1 grabs a network port (tcp port 12345 on all interfaces, in > this invocation) and when a new connection comes in, runs > /bin/exportfs, which has a little protocol to negotiate what namespace > to export and then exports it. on the other host, import dials the > exportfs listener started above and mounts the /mnt/wiki exported > there on its own namespace. > > that's my understanding of what you're after, anyway. if there's > something else you're looking for, just drop a note. > > -- Hugo