Lines Matching +full:sync +full:- +full:2
12 # 2. Redistributions in binary form must reproduce the above copyright
31 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
35 mount | grep -q "$mntpoint" && umount $mntpoint
36 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart
38 mdconfig -a -t swap -s 400m -u $mdstart
47 mycc -o truncate3 -Wall -O2 truncate3.c
48 rm -f truncate3.c
49 [ -d $RUNDIR ] || mkdir -p $RUNDIR
55 rm -f /tmp/truncate3
57 sync;sync;sync
58 while mount | grep -q $mntpoint; do
59 sync;sync;sync
65 mdconfig -d -u $mdstart
88 if (fd[j] == -1)
95 if (write(fd[j], buf, 2) != 2)
98 if (ftruncate(fd[j], len) == -1)