#!/bin/rc s=/n/dist/dist/replica serverroot=/n/dist serverlog=$s/plan9.log serverproto=$s/plan9.proto fn servermount { srv tcp!sources.cs.bell-labs.com sources /n/sources bind /n/sources/plan9 /n/dist } fn serverupdate { status='' } fn clientmount { 9fs kfs } c=/n/kfs/dist/replica clientroot=/n/kfs clientdb=$c/client/plan9.db clientexclude=(dist/replica/client) clientlog=$c/client/plan9.log clientproto=$c/plan9.proto applyopt=(-u -T$c/client/plan9.time)