Skip Tavakkolian <9...@9netics.com> said:

> > What?  The findroot code reads:
> 
> read the code again; findroot doesn't come into play.

it most certainly does!

in main...

        if(!bootboot){
                if(localroot == nil && (localroot = findroot()) == nil)
                        panic("cannot find plan 9 root; use -r");

So, if you do not specify localroot (via -r) then it uses findroot.  Findroot
first checks the cwd, and then two hardcoded paths.  This means that unless
the program is run from the 9vx's associated Plan 9 root, or the programs were
installed in "/Users/rsc/9vx" or "/home/rsc/plan9/4e", then you are requiring
all users on a system to run 9vx with -r and know where that root is always.  

Is it unreasonable to expect that an invocation of "9vx" to actually run?

  EBo --

Reply via email to