Upload files to 'komod/nfs'

This commit is contained in:
Cyberes 2023-03-31 23:04:16 -06:00
parent a01337024c
commit d760ff878b
3 changed files with 21 additions and 0 deletions

BIN
komod/nfs/grace.ko Normal file

Binary file not shown.

21
komod/nfs/loadnfs.sh Normal file
View File

@ -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

BIN
komod/nfs/lockd.ko Normal file

Binary file not shown.