| #!/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; | |
Xet Storage Details
- Size:
- 363 Bytes
- Xet hash:
- a25be9743e6f20e20f81d5ca11d4f0ea4c7caf4508e0596789ffef41c2eee809
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.