3 open(SIG
, $ARGV[0]) || die "open $ARGV[0]: $!";
5 $n = sysread(SIG
, $buf, 1000);
8 print STDERR
"boot block too large: $n bytes (max 510)\n";
12 print STDERR
"boot block is $n bytes (max 510)\n";
14 $buf .= "\0" x
(510-$n);
17 open(SIG
, ">$ARGV[0]") || die "open >$ARGV[0]: $!";