Lines Matching refs:IMG
4 IMG=/tmp/foo.img
14 dd if=/dev/zero of=$IMG bs=1k count=$SIZE
15 echo $MKE2FS -F -t ext4 -L test $OPTS test.img $SIZE
16 $MKE2FS -F -t ext4 -L test $OPTS $IMG $SIZE
19 $DEBUGFS -w -R "write $TMP a" $IMG
20 BLKS=$(./debugfs/debugfs -R "blocks a" $IMG)
24 $DEBUGFS -w $IMG < $TMP >& /dev/null
28 $DEBUGFS -w -R "write $TMP b" $IMG
30 BLKS=$(./debugfs/debugfs -R "blocks b" $IMG)
34 $DEBUGFS -w $IMG < $TMP >& /dev/null
38 $DEBUGFS -w -R "write $TMP c" $IMG
45 $DEBUGFS -w $IMG < $TMP >& /dev/null
47 $FSCK -fy $IMG