Lines Matching +full:event +full:- +full:touch
4 # SPDX-License-Identifier: BSD-2-Clause
20 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
39 mount | grep -q "on $mntpoint " && umount $mntpoint
40 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
41 mdconfig -a -t swap -s 1g -u $mdstart
44 touch $f1
45 mount -u -o ro $mntpoint
46 touch $f2 2>/dev/null && { echo "ufs: ro failed"; s=1; }
47 d1=`stat -f '%a %m %c' $f1`
50 d2=`stat -f '%a %m %c' $f1`
55 mount -u -o rw $mntpoint
56 touch $f2 2>/dev/null || { echo "ufs: rw failed"; s=1; }
58 mdconfig -d -u $mdstart
61 mount -o size=100m -t tmpfs null $mntpoint || exit 1
62 touch $f1
63 mount -u -o ro $mntpoint
64 touch $f2 2>/dev/null && { echo "tmpfs: ro failed"; s=1; }
65 d1=`stat -f '%a %m %c' $f1`
68 d2=`stat -f '%a %m %c' $f1`
73 mount -u -o rw $mntpoint
74 touch $f2 2>/dev/null || { echo "tmpfs: rw failed"; s=1; }
78 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
79 mdconfig -a -t swap -s 1g -u $mdstart
80 gpart create -s bsd md$mdstart > /dev/null
81 gpart add -t freebsd-ufs md$mdstart > /dev/null
84 mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1
86 touch $f1
87 mount -u -o ro $mntpoint
88 touch $f2 2>/dev/null && { echo "msdosfs: ro failed"; s=1; }
89 d1=`stat -f '%a %m %c' $f1`
92 d2=`stat -f '%a %m %c' $f1`
97 mount -u -o rw $mntpoint
98 touch $f2 2>/dev/null || { echo "msdosfs: rw failed"; s=1; }
100 mdconfig -d -u $mdstart