isventiarenas 258 B

12345678910111213
  1. #!/bin/rc
  2. if(! ~ $#* 1){
  3. echo 'usage: isventiarenas /dev/sdC0/part' >[1=2]
  4. exit usage
  5. }
  6. arg=$1
  7. if(! cmp -s <{dd -quiet 1 -if $arg -bs 1024 -iseek 256 |
  8. dd -quiet 1 -bs 4 -count 1 | xd -b | sed 1q} <{echo '0000000 a9 e4 a5 e7'})
  9. exit notarenas
  10. exit 0