Code: Select all
mount --bind /mtd_tlib/GGame/ /IP:/mnt/point/GGame (NFS share)
Code: Select all
mount --bind /mtd_tlib/GGame/ /IP:/mnt/point/GGame (NFS share)
Code: Select all
root@LS-GL984:~# cat /etc/exports
/mnt/disk1/TV/mtd_tlib 192.168.1.100/255.255.255.0(rw,async,all_squash,anonuid=99,anongid=99,no_subtree_check)
Code: Select all
mkdir /dtv/nfs #create mount dir where share is mounted to.
mount -o nolock 192.168.1.200:/mnt/disk1/TV/mtd_tlib/GGame /dtv/nfs -t nfs #mount share over NFS
mount --bind /dtv/nfs /mtd_tlib/GGame #replace TV`s GGame folder with mounted folder from NAS
error you get because folder exist (i do not know what is your full samygo.sh and another scripts like).mkdir: Cannot create directory `/dtv/nfs': File exists