Home
last modified time | relevance | path

Searched refs:mntpoint (Results 1 – 25 of 540) sorted by relevance

12345678910>>...22

/freebsd/tools/test/stress2/misc/
H A Dsnap8.sh57 mount /dev/md$mdstart $mntpoint
61 (mkdir $mntpoint/test$i; cd $mntpoint/test$i; \
67 mksnap_ffs $mntpoint $mntpoint/.snap/snap1
68 mksnap_ffs $mntpoint $mntpoint/.snap/snap2
69 mksnap_ffs $mntpoint $mntpoint/.snap/snap3
70 mksnap_ffs $mntpoint $mntpoint/.snap/snap4
71 mksnap_ffs $mntpoint $mntpoint/.snap/snap5
72 mksnap_ffs $mntpoint $mntpoint/.snap/snap6
73 mksnap_ffs $mntpoint $mntpoint/.snap/snap7
74 mksnap_ffs $mntpoint $mntpoint/.snap/snap8
[all …]
H A Dpread.sh44 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
47 mount -t tmpfs tmpfs $mntpoint
48 cp -a /usr/include $mntpoint
50 /tmp/pread $mntpoint
51 while mount | grep -q "on $mntpoint "; do
52 umount $mntpoint || sleep 1
66 mount -t procfs procfs $mntpoint
67 /tmp/pread $mntpoint
68 while mount | grep -q "on $mntpoint "; do
69 umount $mntpoint || sleep 1
[all …]
H A Dgnop13.sh42 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
56 export RUNDIR=$mntpoint/stressX
57 export CTRLDIR=$mntpoint/stressX.control
61 mount /dev/md$mdstart.nop $mntpoint || exit 1
62 rm -fr $mntpoint/lost+found
63 chmod 777 $mntpoint
71 [ -d $mntpoint/.snap ] || break
72 rm -f $mntpoint/.snap/$i
73 echo "mksnap_ffs $mntpoint $mntpoint/.snap/$i"
74 mksnap_ffs $mntpoint $mntpoint/.snap/$i
[all …]
H A Dquota8.sh46 mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint
51 echo "/dev/md$mdstart $mntpoint ufs rw,userquota 2 2" >> \
53 mount $mntpoint
54 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
62 edquota -u -f $mntpoint -e ${mntpoint}:$((QK - 50)):$QK:$((QI - 50 )):$QI \
64 quotaon $mntpoint
66 export RUNDIR=$mntpoint/stressX
67 mkdir $mntpoint/stressX
68 chmod 777 $mntpoint/stressX
72 echo "`date '+%T'` mksnap_ffs $mntpoint $mntpoint/.snap/snap$i"
[all …]
H A Dnfs6.sh36 grep -q $mntpoint /etc/exports ||
37 { echo "$mntpoint missing from /etc/exports"; exit 0; }
42 mount | grep "${mntpoint}2" | grep nfs > /dev/null && umount -f ${mntpoint}2
43 mount | grep "$mntpoint" | grep /md > /dev/null && umount -f $mntpoint
49 mount /dev/md$mdstart $mntpoint
51 mkdir $mntpoint/stressX
52 chmod 777 $mntpoint/stressX
54 [ ! -d ${mntpoint}2 ] && mkdir ${mntpoint}2
55 chmod 777 ${mntpoint}2
57 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw 127.0.0.1:$mntpoint \
[all …]
H A Dsuj19.sh45 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint
51 echo "/dev/md$mdstart $mntpoint ufs rw,userquota 2 2" > $PATH_FSTAB
52 mount $mntpoint
53 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
56 edquota -u -f $mntpoint -e ${mntpoint}:$((QK - 50)):$QK:$((QI - 50 )):$QI $testuser
57 quotaon $mntpoint
58 export RUNDIR=$mntpoint/stressX
59 chmod 777 $mntpoint
63 echo "`date '+%T'` mksnap_ffs $mntpoint $mntpoint/.snap/snap$i"
64 snap $mntpoint $mntpoint/.snap/snap$i || break
[all …]
H A Dquota7.sh41 mount | grep $mntpoint | grep -q md$mdstart && umount -f $mntpoint
47 echo "/dev/md$mdstart $mntpoint ufs rw,userquota 2 2" > $PATH_FSTAB
48 mount $mntpoint
49 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
57 edquota -u -f $mntpoint -e $mntpoint:$((QK - 50)):$QK:$((QI - 50 )):$QI $testuser
58 quotaon $mntpoint
59 export RUNDIR=$mntpoint/stressX
60 mkdir $mntpoint/stressX
61 chmod 777 $mntpoint/stressX
65 echo "`date '+%T'` mksnap_ffs $mntpoint $mntpoint/.snap/snap$i"
[all …]
H A Drecursiveflushes.sh42 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
46 mount /dev/md$mdstart $mntpoint
49 cd $mntpoint
50 rm -f $mntpoint/.snap/stress2.*
51 snap $mntpoint $mntpoint/.snap/stress2.1
52 snap $mntpoint $mntpoint/.snap/stress2.2
53 snap $mntpoint $mntpoint/.snap/stress2.3
54 snap $mntpoint $mntpoint/.snap/stress2.4
55 snap $mntpoint $mntpoint/.snap/stress2.5
66 rm -f $mntpoint/.snap/stress2.*
[all …]
H A Dchroot.sh40 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
52 mount /dev/md$mdstart $mntpoint
53 mkdir -p $mntpoint/root/dir $mntpoint/jail $mntpoint/dev
54 mount -t nullfs $mntpoint/root $mntpoint/jail
55 mount -t devfs null $mntpoint/dev
56 mv /tmp/chroot $mntpoint/root
58 chroot $mntpoint/jail ./chroot &
60 mv $mntpoint/root/dir $mntpoint
63 umount $mntpoint/dev
64 umount $mntpoint/jail
[all …]
H A Dnfs17.sh39 mount | grep "on $mntpoint " | grep -q nfs && umount $mntpoint
40 mount -t nfs -o tcp -o retrycnt=3 -o soft -o rw $nfs_export $mntpoint
41 grep -q $mntpoint /etc/exports ||
42 { echo "$mntpoint missing from /etc/exports"; exit 0; }
44 chmod 777 $mntpoint
46 rm -rf $mntpoint/nfs17; mkdir -p $mntpoint/nfs17
47 chmod 0777 $mntpoint/nfs17
48 cp -r ../../stress2 $mntpoint/nfs17
51 export CTRLDIR=$mntpoint/nfs17/stressX.control
54 export RUNDIR=$mntpoint/nfs17/stressX
[all …]
H A Dcore3.sh49 mount | grep -q "on $mntpoint " && umount $mntpoint
53 mount /dev/md$mdstart $mntpoint
54 mkdir $mntpoint/d
55 chmod 777 $mntpoint/d
57 su $testuser -c "/tmp/core3 $mntpoint/d" &
62 [ -d $mntpoint/d ] &&
63 umount -f $mntpoint
66 [ -d $mntpoint/d ] ||
67 mount /dev/md$mdstart $mntpoint
71 mount | grep -q "on $mntpoint " &&
[all …]
H A Dnfs2.sh35 grep -q $mntpoint /etc/exports ||
36 { echo "$mntpoint missing from /etc/exports"; exit 0; }
42 mount | grep "${mntpoint}2" | grep nfs > /dev/null && umount -f ${mntpoint}2
43 mount | grep "$mntpoint" | grep /md > /dev/null && umount -f $mntpoint
52 mount -t msdosfs -o rw /dev/md${mdstart}$part $mntpoint
54 mkdir $mntpoint/stressX
55 chmod 777 $mntpoint/stressX
57 [ ! -d ${mntpoint}2 ] && mkdir ${mntpoint}2
58 chmod 777 ${mntpoint}2
61 127.0.0.1:$mntpoint ${mntpoint}2
[all …]
H A Dsuj25.sh38 mount | grep -w $mntpoint | grep -q /dev/md && umount -f $mntpoint
45 mount /dev/md$mdstart $mntpoint
46 chmod 777 $mntpoint
48 cp -R /usr/include $mntpoint/1
49 cp -R /usr/include $mntpoint/2
50 cp -R /usr/include $mntpoint/3
51 cp -R /usr/include $mntpoint/4
52 rm -rf $mntpoint/1 &
55 while [ ! -s $mntpoint/.snap/suj25 ]; do
56 rm -f $mntpoint/.snap/suj25
[all …]
H A Dsetuid.sh47 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
52 mount /dev/md$mdstart $mntpoint
53 chmod 777 $mntpoint
54 mkdir $mntpoint/root
56 cp /tmp/setuid $mntpoint/root/nop
57 chown nobody:nobody $mntpoint/root/nop
58 chmod 4755 $mntpoint/root/nop
60 chmod 777 $mntpoint/root
63 ./setuid $mntpoint/root 1
64 ./setuid $mntpoint/root 2
[all …]
H A Dcrossmp4.sh52 mount | grep "$mntpoint" | grep -q md && umount $mntpoint
57 mount /dev/md$mdstart $mntpoint
68 while mount | grep -q "on $mntpoint "; do
69 umount $mntpoint > /dev/null 2>&1 || sleep 1
77 find ${mntpoint}* -type f > /dev/null 2>&1
81 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
88 [ ! -d ${mntpoint}$m ] && mkdir ${mntpoint}$m
89 mount -t nullfs $mntpoint ${mntpoint}$m
90 mkdir -p ${mntpoint}$m/$m
91 chmod 777 ${mntpoint}$m/$m
[all …]
H A Dquota6.sh39 mount | grep $mntpoint | grep -q md$mdstart && umount $mntpoint
45 echo "/dev/md$mdstart $mntpoint ufs rw,userquota 2 2" > \
47 mount $mntpoint
48 edquota -u -f $mntpoint -e $mntpoint:850000:900000:130000:140000 root > \
50 quotaon $mntpoint
51 export RUNDIR=$mntpoint/stressX
55 echo "`date '+%T'` mksnap_ffs $mntpoint $mntpoint/.snap/snap$i"
56 mksnap_ffs $mntpoint $mntpoint/.snap/snap$i
59 rm -f $mntpoint/.snap/snap1
63 while mount | grep -q $mntpoint; do
[all …]
H A Dcmp.sh44 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
50 mount /dev/md$mdstart $mntpoint
51 chmod 777 $mntpoint
56 su $testuser -c "/tmp/cmp $mntpoint" &
59 umount -f $mntpoint &&
60 mount /dev/md$mdstart $mntpoint
61 chmod 777 $mntpoint
66 while mount | grep $mntpoint | grep -q /dev/md; do
67 umount $mntpoint || sleep 1
70 [ -d "$mntpoint" ] && (cd $mntpoint && find . -delete)
[all …]
H A Dreaddir.sh44 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
47 mount -t tmpfs tmpfs $mntpoint
49 cp -a /usr/include $mntpoint
50 /tmp/readdir $mntpoint
51 umount $mntpoint
61 mount -t procfs procfs $mntpoint
62 /tmp/readdir $mntpoint
63 umount $mntpoint
68 $nfs_export $mntpoint
69 /tmp/readdir $mntpoint
[all …]
H A Dnfs5.sh36 mount | grep "${mntpoint}2" | grep nfs > /dev/null && umount -f ${mntpoint}2
37 mount | grep "$mntpoint" | grep /md > /dev/null && umount -f $mntpoint
43 mount /dev/md$mdstart $mntpoint
45 mkdir $mntpoint/stressX
46 chmod 777 $mntpoint/stressX
48 [ ! -d ${mntpoint}2 ] && mkdir ${mntpoint}2
49 chmod 777 ${mntpoint}2
51 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw 127.0.0.1:$mntpoint \
52 ${mntpoint}2
54 export RUNDIR=${mntpoint}2/stressX
[all …]
H A Dnullfs13.sh37 nullfsmp=${mntpoint}2
41 mount | grep "$mntpoint " | grep -q /dev/md && umount -f $mntpoint
45 mount /dev/md$mdstart $mntpoint
46 chmod 777 $mntpoint
47 mount -t nullfs $mntpoint $nullfsmp
53 rm $mntpoint/*
55 (cd $mntpoint; jot 20 | xargs touch)
56 rm $mntpoint/*
58 (cd $mntpoint; jot 20 | xargs touch)
64 df -i $mntpoint $nullfsmp
[all …]
H A Dbackingstore.sh40 mount | grep "$mntpoint" | grep -q md$m && umount $mntpoint$m
48 [ -d $mntpoint$m ] || mkdir -p $mntpoint$m
49 mount $opt /dev/md$m $mntpoint$m
54 mount | grep "$mntpoint$m" | grep -q md$m && umount $mntpoint$m
57 truncate -s 500M $mntpoint$n/diskimage
58 mdconfig -a -t vnode -f $mntpoint$n/diskimage -u $m
61 [ -d $mntpoint$m ] || mkdir -p $mntpoint$m
62 mount $opt /dev/md$m $mntpoint$m
64 export RUNDIR=$mntpoint$m/stressX
67 while mount | grep -q $mntpoint$m; do
[all …]
H A Dbackingstore3.sh42 mount | grep "$mntpoint" | grep -q md$m2 && umount $mntpoint$m2
44 mount | grep "$mntpoint" | grep -q md$m1 && umount $mntpoint$m1
46 [ -d $mntpoint$m1 ] || mkdir -p $mntpoint$m1
47 [ -d $mntpoint$m2 ] || mkdir -p $mntpoint$m2
54 mount /dev/md$m1 $mntpoint$m1
56 truncate -s 500M $mntpoint$m1/diskimage
57 mdconfig -a -t vnode -f $mntpoint$m1/diskimage -u $m2
60 mount /dev/md$m2 $mntpoint$m2
62 dd if=/dev/zero of=$mntpoint$m2/file bs=1m > /dev/null 2>&1
68 mount | grep "$mntpoint" | grep -q md$m2 && umount $mntpoint$m2
[all …]
H A Dforce15.sh41 mntpoint=/mnt
45 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
55 mount /dev/md$mdstart $mntpoint
56 rm -fr $mntpoint/lost+found
58 jot 10 | xargs -I% mkdir -p $mntpoint/%
62 jot $n | xargs -P0 -I% touch $mntpoint/$j/%
63 jot $n | xargs -P0 -I% rm $mntpoint/$j/%
70 mkdir -p $mntpoint/.snap
72 rm -f $mntpoint/.snap/$i
73 mksnap_ffs $mntpoint $mntpoint/.snap/$i > /dev/null 2>&1 || break
[all …]
H A Dbuildworld3.sh42 mount | grep -q "on $mntpoint " && umount $mntpoint
48 echo "/dev/md$mdstart $mntpoint ufs rw,userquota 2 2" > $PATH_FSTAB
49 mount $mntpoint
50 set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
53 edquota -u -f $mntpoint -e \
54 ${mntpoint}:$((QK - 50)):$QK:$((QI - 50 )):$QI $testuser
55 quotaon $mntpoint
56 mount | grep $mntpoint
59 export MAKEOBJDIRPREFIX=$mntpoint/obj
60 export TMPDIR=$mntpoint/tmp
[all …]
H A Dbackingstore2.sh43 mount | grep "$mntpoint$m2" | grep -q md$m2 && umount $mntpoint$m2
45 mount | grep "$mntpoint$m1" | grep -q md$m1 && umount $mntpoint$m1
47 [ -d $mntpoint$m1 ] || mkdir -p $mntpoint$m1
48 [ -d $mntpoint$m2 ] || mkdir -p $mntpoint$m2
55 mount /dev/md$m1 $mntpoint$m1
57 truncate -s 500M $mntpoint$m1/diskimage
58 mdconfig -a -t vnode -f $mntpoint$m1/diskimage -u $m2
61 mount /dev/md$m2 $mntpoint$m2
67 mount | grep "$mntpoint" | grep -q md$m2 && umount $mntpoint$m2
69 mount | grep "$mntpoint" | grep -q md$m1 && umount $mntpoint$m1

12345678910>>...22