Home | History | Annotate | Download | only in scripts

Lines Matching full:tmpfile

5 rm -f $TMPFILE
6 touch $TMPFILE
10 if truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
11 > $TMPFILE
13 rm $TMPFILE
14 export TMPFILE=$(TMPDIR=. mktemp -t $test_name.XXXXXX.tmp)
15 touch $TMPFILE
16 if ! truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
17 rm $TMPFILE
22 echo $MKE2FS $FEATURES -qF $TMPFILE $SIZE_1 > $LOG
23 $MKE2FS $FEATURES -qF $TMPFILE $SIZE_1 >> $LOG
34 $DEBUGFS -w $TMPFILE >> $LOG 2>&1 << EOF
46 echo $FSCK -fy $TMPFILE >> $LOG 2>&1
47 $FSCK -fy $TMPFILE >> $LOG 2>&1
49 echo $RESIZE2FS $RESIZE2FS_OPTS -d 31 $TMPFILE $SIZE_2 >> $LOG 2>&1
50 if ! $RESIZE2FS $RESIZE2FS_OPTS -d 31 $TMPFILE $SIZE_2 >> $LOG 2>&1
55 echo $FSCK -fp $TMPFILE >> $LOG 2>&1
56 if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
58 dumpe2fs $TMPFILE >> $LOG
62 echo $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
63 $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
74 echo $RESIZE2FS $RESIZE2FS_OPTS -d 31 -M $TMPFILE $SIZE_2 >> $LOG 2>&1
75 if ! $RESIZE2FS $RESIZE2FS_OPTS -d 31 -M $TMPFILE $SIZE_2 >> $LOG 2>&1
80 echo $FSCK -fp $TMPFILE >> $LOG 2>&1
81 if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
83 dumpe2fs $TMPFILE >> $LOG
87 echo $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
88 $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
99 echo $RESIZE2FS $RESIZE2FS_OPTS -d 31 -M $TMPFILE $SIZE_2 >> $LOG 2>&1
100 if ! $RESIZE2FS $RESIZE2FS_OPTS -d 31 -M $TMPFILE $SIZE_2 >> $LOG 2>&1
105 echo $FSCK -fp $TMPFILE >> $LOG 2>&1
106 if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
108 dumpe2fs $TMPFILE >> $LOG
112 echo $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
113 $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
124 echo $RESIZE2FS $RESIZE2FS_OPTS -d 31 -M $TMPFILE $SIZE_2 >> $LOG 2>&1
125 if ! $RESIZE2FS $RESIZE2FS_OPTS -d 31 -M $TMPFILE $SIZE_2 >> $LOG 2>&1
130 echo $FSCK -fp $TMPFILE >> $LOG 2>&1
131 if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
133 dumpe2fs $TMPFILE >> $LOG
137 echo $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
138 $DEBUGFS -R "dump /test/e2fsck $OUT_TMP" $TMPFILE >> $LOG 2>&1
152 rm $TMPFILE