Write image to a device with bad blocks and work around them?

Asked by Gerry Boland

I see that partimage-ng is clever enough to skip bad blocks on the source drive when creating an image. But can it also write an image to a target drive with bad blocks in such a way that the bad blocks remain marked bad, and the files are worked around them?

Question information

Language:
English Edit question
Status:
Solved
For:
partimage-ng Edit question
Assignee:
No assignee Edit question
Solved by:
Dmitry Ivanov
Solved:
Last query:
Last reply:
Revision history for this message
Best Dmitry Ivanov (vonami) said :
#1

Unfortunately it cannot. Working around bad blocks when writing an image to a drive means moving the files from the bad blocks to good ones. That requires implementing full write support for each filesystem. Unless someone steps up that is unlikely to happen.

Revision history for this message
Gerry Boland (gerboland) said :
#2

As I thought. Such a capability is quite specialised. Thanks for your reply Dmitry.