File: failmbr

package info (click to toggle)
partclone 0.3.23%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,152 kB
  • sloc: ansic: 112,812; sh: 4,756; xml: 2,410; makefile: 502; perl: 106; asm: 35; sed: 16
file content (5 lines) | stat: -rwxr-xr-x 201 bytes parent folder | download
1
2
3
4
5
#!/bin/bash
fail_mbr_dir="../fail-mbr"
hd $fail_mbr_dir/fail-mbr.bin > fail-mbr.hex
hd "$(dirname "$0")"/$fail_mbr_dir/fail-mbr.bin.orig > fail-mbr.hex.orig
diff fail-mbr.hex.orig fail-mbr.hex || true