Lines Matching +full:short +full:- +full:ping
4 # SPDX-License-Identifier: BSD-2-Clause
30 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
38 [ -z "$nfs_export" ] && exit 0
39 ping -c 2 `echo $nfs_export | sed 's/:.*//'` > /dev/null 2>&1 ||
42 mount | grep "$mntpoint" | grep -q nfs && umount $mntpoint
47 mycc -o nfs_halfpage -Wall -Wextra -O0 -g nfs_halfpage.c || exit 1
48 rm -f nfs_halfpage.c
51 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw $nfs_export $mntpoint
61 mount | grep -q "on $mntpoint " || break
64 [ $i -eq 6 ] && s=1 || s=0
65 rm -f /tmp/nfs_halfpage
84 if (fd == -1)
88 if (error == -1)
91 if (error == -1)
94 errx(1, "short write");