fsfuzz

small fs fuzzer
git clone git://git.2f30.org/fsfuzz
Log | Files | Refs

btrfs-fuzz.sh (238B)


      1 #!/bin/sh
      2 
      3 i=0
      4 while :; do
      5 	dd if=/dev/zero of=btrfs-own bs=1M count=8 &>/dev/null
      6 	mkfs.btrfs btrfs-own &>/dev/null
      7 	../fsfuzz -f btrfs btrfs-own
      8 	mount -t btrfs btrfs-own mnt/
      9 	umount mnt/
     10 	mv btrfs-own btrfs/btrfs-own.$i
     11 	((i++))
     12 done