2009/7/13 Eric Van Hensbergen <eri...@gmail.com>: > On Mon, Jul 13, 2009 at 3:24 AM, sqweek<sqw...@gmail.com> wrote: >> Anyway, note that if you auth you'll need supporting software from >> p9p also. Factotum and srv -a, in particular, then give v9fs a -o >> trans=unix. > > Any chance we can get fossil integration into 9mount directly? Most of > the code is already available in some p9p code that lucho wrote called > amount. It would complicate build a bit because you need libraries from > p9p, but perhaps it could be conditional compilation.
I'm not too fond of the idea... It's not as though amount adds any new functionality over srv+mount[1], and I hate throwing more code at a problem when equivalent code exists elsewhere. Having to introduce a link time dependency on p9p doesn't help convince me either - the current arrangement seems to provide a decent seperation of responsibility. The mount.9p symlink sounds pretty reasonable though, I'll get around to that sometime. [1] actually back when I read over amount I even concluded that it used the same trick as srv -a just with a pipe instead of unix socket! failed to notice the Tversion/Tattach subtlety. is it really worth the coupling to go back to that approach? -sqweek