#!/bin/rc # Combine nfs(4) and mount(1) of an NFS export. fn usage { echo usage: mountnfs nfshost export >[1=2] exit usage } if(! ~ $#* 2) usage nfs -s nfs.^$1 -u /lib/ndb/^$1^.passwd /lib/ndb/^$1^.group $1 mount -c /srv/nfs.^$1 /n/^$1 $2