The current script expects to find cpm3.sys and cpmldr to patch before it considers writing the DPB to the boot sector. Non-bootable data only disks might not have them but would still benefit from the DPB, which would be picked up if the patched CP/M 3 was booted.
After this is relaxed more care should be taken before writing to the end of the boot sector. Currently 0xE5 filler or a decrementing byte pattern is likely safe, and other cases should be refused unless forced.
The current script expects to find cpm3.sys and cpmldr to patch before it considers writing the DPB to the boot sector. Non-bootable data only disks might not have them but would still benefit from the DPB, which would be picked up if the patched CP/M 3 was booted.
After this is relaxed more care should be taken before writing to the end of the boot sector. Currently 0xE5 filler or a decrementing byte pattern is likely safe, and other cases should be refused unless forced.