Failing-disk lab for "How to Image a Failing Disk with a ddrescue Map" (packetbuilder.net)

Linux only. Needs Python 3, the fusepy module (pip install fusepy) and FUSE.

1. Unzip dr-usb-deleted-exfat.zip from the USB article to get usb-exfat.img (129 MiB).
2. mkdir /tmp/faulty
   python3 faultydisk.py usb-exfat.img /tmp/faulty faulty.json
   /tmp/faulty/disk.img is now a read-only copy that fails like a worn disk:
   - unreadable: 0x494000+0x1000, 0x4000000+0x40000, 0x7100000+0x600
   - fails twice, then reads: 0x4E2000+0x1000
   - slow: 8 MiB at 0x1400000 (40 ms per read), 512 KiB at 0x6400000 (700 ms per read)
3. Stage 1 with GNU ddrescue, interrupted after a few seconds:
   timeout -s INT 8 ddrescue -n /tmp/faulty/disk.img rescue.img rescue.map
4. Continue in Loosha (Expert > Acquisition, or the CLI continue-map command).
5. Or image it with Loosha alone (Loosha Data Recovery 1.4.3 or later):
   LooshaDataRecoveryCLI acquire -image /tmp/faulty/disk.img -dest ACQ -retries 2 -allow-same-volume

gnu-stage1.map is the map GNU ddrescue 1.29 wrote in our run.
loosha-stage2.map is the map after Loosha 1.4.3 finished the same image.
Unmount with: fusermount -u /tmp/faulty
