1 #!/bin/bash 2 3 rm -r tmpmnt 4 rm -f testfile.img 5 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1 6 DEVICE=$(losetup --show -f testfile.img) 7 mkfs.btrfs -f $DEVICE 8 mkdir tmpmnt 9 ./tracex7 $DEVICE 10 if [ $? -eq 0 ] 11 then 12 echo "SUCCESS!" 13 else 14 echo "FAILED!" 15 fi 16 losetup -d $DEVICE
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.