diff options
author | Frans Kaashoek <[email protected]> | 2019-07-24 09:05:05 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2019-07-24 09:05:05 -0400 |
commit | e6276088107e814bea95aee42868065dc41c1e8b (patch) | |
tree | 6204c027e2fe5c80df8629ba0048c7b6ba0e86fe /sign.pl | |
parent | 6f3a441c10ca714041c0ace01b0e7d92d5846768 (diff) | |
download | xv6-labs-e6276088107e814bea95aee42868065dc41c1e8b.tar.gz xv6-labs-e6276088107e814bea95aee42868065dc41c1e8b.tar.bz2 xv6-labs-e6276088107e814bea95aee42868065dc41c1e8b.zip |
Delete a few other no-longer relevant files
Diffstat (limited to 'sign.pl')
-rwxr-xr-x | sign.pl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sign.pl b/sign.pl deleted file mode 100755 index d793035..0000000 --- a/sign.pl +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/perl - -open(SIG, $ARGV[0]) || die "open $ARGV[0]: $!"; - -$n = sysread(SIG, $buf, 1000); - -if($n > 510){ - print STDERR "boot block too large: $n bytes (max 510)\n"; - exit 1; -} - -print STDERR "boot block is $n bytes (max 510)\n"; - -$buf .= "\0" x (510-$n); -$buf .= "\x55\xAA"; - -open(SIG, ">$ARGV[0]") || die "open >$ARGV[0]: $!"; -print SIG $buf; -close SIG; |