diff --git a/komod/nfs/grace.ko b/komod/nfs/grace.ko new file mode 100644 index 0000000..e3e6041 Binary files /dev/null and b/komod/nfs/grace.ko differ diff --git a/komod/nfs/loadnfs.sh b/komod/nfs/loadnfs.sh new file mode 100644 index 0000000..db8d45b --- /dev/null +++ b/komod/nfs/loadnfs.sh @@ -0,0 +1,21 @@ +#tftp -g -r lockd.ko 192.168.0.9 +#tftp -g -r nfs.ko 192.168.0.9 +#tftp -g -r sunrpc.ko 192.168.0.9 +#tftp -g -r loadnfs.sh 192.168.0.9 + +insmod grace.ko +insmod sunrpc.ko +insmod lockd.ko +insmod nfs.ko +insmod nfsv3.ko + +if [ "$1"Z == "Z" ] +then + echo "spec username" + exit 1 +else + RDIR=192.168.0.99:/home/$1 + LDIR=/home/$1 + mkdir -p $LDIR +fi +mount -t nfs -o nolock -o tcp -o rsize=32768,wsize=32768 $RDIR $LDIR diff --git a/komod/nfs/lockd.ko b/komod/nfs/lockd.ko new file mode 100644 index 0000000..d8d593a Binary files /dev/null and b/komod/nfs/lockd.ko differ