Lines Matching +full:event +full:- +full:touch
19 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # kern/178238 "nullfs don't release i-nodes on unlink"
38 mount | grep -q "$nullfsmp " && umount $nullfsmp
40 [ -d $nullfsmp ] || mkdir $nullfsmp
41 mount | grep "$mntpoint " | grep -q /dev/md && umount -f $mntpoint
42 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
43 mdconfig -a -t swap -s 1g -u $mdstart
47 mount -t nullfs $mntpoint $nullfsmp
49 (cd $nullfsmp; jot 20 | xargs touch)
52 (cd $nullfsmp; jot 20 | xargs touch)
55 (cd $mntpoint; jot 20 | xargs touch)
58 (cd $mntpoint; jot 20 | xargs touch)
61 ino=`df -i $nullfsmp | tail -1 | awk '{print $6}'`
62 if [ $ino -ne 2 ]; then
64 df -i $mntpoint $nullfsmp
65 echo "ls -la $mntpoint $nullfsmp"
66 ls -la $mntpoint $nullfsmp
69 while mount | grep -q "$nullfsmp "; do
73 while mount | grep -q "$mntpoint "; do
76 mdconfig -d -u $mdstart