Skip to content

TR-DOS: Defragmentation may corrupt the disk #90

@tomas-nestorovic

Description

@tomas-nestorovic

If target sectors are missing or otherwise unreadable, the defragmentation silently stops (without an error message!), leaving the disk in corrupt state.

For example, here is disk with missing Cylinders 1 and 2, and a single file that, therefore, cannot be moved.

Image

After starting the defragmentation, the single file on the disk disappears.

Image

This issue should thus:

  • fix this problem,
  • add error message in case of problems,
  • possibly introduce a smarter way of defragmenting a disk (though this is maybe a topic for another issue than this one).

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions