Lines Matching +full:sync +full:- +full:2
12 # 2. Redistributions in binary form must reproduce the above copyright
32 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
36 mount | grep -q "$mntpoint" && umount $mntpoint
37 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart
39 mdconfig -a -t swap -s 400m -u $mdstart
41 if [ `jot -r 1 0 1` -eq 0 ]; then
52 mycc -o truncate7 -Wall -O2 truncate7.c
53 rm -f truncate7.c
54 [ -d $RUNDIR ] || mkdir -p $RUNDIR
60 rm -f /tmp/truncate7
62 sync;sync;sync
63 while mount | grep -q $mntpoint; do
64 sync;sync;sync
70 mdconfig -d -u $mdstart
93 if (fd[j] == -1)
100 if (write(fd[j], buf, 2) != 2)
103 if (ftruncate(fd[j], len) == -1)