Upload files to 'komod/nfs'
This commit is contained in:
parent
a01337024c
commit
d760ff878b
Binary file not shown.
|
@ -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
|
Binary file not shown.
Loading…
Reference in New Issue