Skip to content

feat: validate disc image integrity #24

@acscpt

Description

@acscpt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogFor future considerationcliCommand-line interfacedisc:adfsADFS-specificdisc:dfsDFS-specificenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions