#!/bin/csh -f
# $1 = filsys, $2* = progname and args
if ( $#argv < 2 ) then
   echo 'Usage: run filesystem program args'
   exit 1
endif
set filsys=$1:q
shift
set mountpoint=`attach -p $filsys:q`
if ( ! $status ) exec ${mountpoint:q}/${hosttype}bin/$*:q
