]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/inst/hasmbr
inst/ndbsetup: allow setting sysname more than once
[plan9front.git] / rc / bin / inst / hasmbr
1 #!/bin/rc
2
3 if(! ~ $#* 1) {
4         echo 'usage: hasmbr /dev/sdC0/part' >[1=2]
5         exit usage
6 }
7
8 x=`{xd -b $1 | sed -n '32p;32q'}
9 if(~ $x(16) 55 && ~ $x(17) aa) 
10         exit ''
11 exit nope
12