Background papers for NBD talk.
[libguestfs-talks.git] / 2019-tech-introductions / custom.sh
1 #!/bin/bash -
2
3 case "$1" in
4     get_size)
5         echo 1M ;;
6     pread)
7         for i in `seq 1 $(( $3/16 ))`; do
8             echo -ne 'HELLO BEIJING __'
9         done
10         ;;
11     *)
12         exit 2;;
13 esac