>The trick you want is in /rc/bin/service/startcifs - this may not be exactly
>the code  you want but it demonstrates the technique you need.
>
>-Steve

startcifs didn't work quite like what I had in mind, so I ended up modifying 
/rc/bin/9fs.  The excerpt below gives me exactly what I wanted:

...
case wiki
     srv -m 'net!plan9.bell-labs.com!wiki' wiki /mnt/wiki
case *
     switch($#*){
     case 1
          # Help out auarela:
          for(i in /usr/*) if($1=`{basename $i}){
               bind -ac /usr/$1 /n/$1
               exit
          }
          srv -m $1
     case *
...

<<winmail.dat>>

Reply via email to