A new validate command that checks a disc image for catalogue consistency errors.
Use case
Disc images acquired from archives or created by other tools sometimes have corrupted catalogues - overlapping file allocations, entries pointing beyond the disc, or invalid sector counts. Currently the only way to discover these problems is to attempt an extract and see what breaks. A validation command provides a quick sanity check before working with an image.
Proposed behaviour
beebtools validate mydisc.ssd
beebtools validate mydisc.adf
Reports any inconsistencies found. Exits with a non-zero status if errors are detected.
A new
validatecommand that checks a disc image for catalogue consistency errors.Use case
Disc images acquired from archives or created by other tools sometimes have corrupted catalogues - overlapping file allocations, entries pointing beyond the disc, or invalid sector counts. Currently the only way to discover these problems is to attempt an extract and see what breaks. A validation command provides a quick sanity check before working with an image.
Proposed behaviour
Reports any inconsistencies found. Exits with a non-zero status if errors are detected.