Rsync over an NFS mount (Scanned @ Decoma)
Tim Moore
rsync at nsr500.net
Sat Apr 2 17:40:09 GMT 2005
> grep nfs /proc/mounts
abit:/snapshot/abit /backup nfs
ro,nosuid,nodev,v3,rsize=4096,wsize=8192,hard,intr,udp,lock,addr=abit 0 0
> ... easier, and a simple prefix without a nesting level:
>
> NFS_MNT="/mnt/plantx"
> mount | grep $NFS_MNT >/dev/null
> if [ ! "$?" = 0 ]; then
> echo "source not mounted, nothing done,"
> exit 99
> fi
>
> Cheers -e
--
| for direct mail add "private_" in front of user name
More information about the rsync
mailing list