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 ||
46 mycc -o nfs_halfpage -Wall -Wextra -O0 -g nfs_halfpage.c || exit 1
47 rm -f nfs_halfpage.c
50 mount | grep "$mntpoint" | grep -q nfs && umount $mntpoint
51 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw $nfs_export $mntpoint
56 ls -l $file
62 mount | grep -q "on $mntpoint " || break
65 [ $i -eq 6 ] && exit 1
66 rm -f /tmp/nfs_halfpage
87 if (fd == -1)
92 if (error == -1)
95 if (error == -1)
98 errx(1, "short write");
102 m[sz - 1] = 'x';