[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] Feature request: copy bad sectors to sparse file
From: |
Jay R. Ashworth |
Subject: |
Re: [Bug-ddrescue] Feature request: copy bad sectors to sparse file |
Date: |
Tue, 1 Aug 2017 13:55:37 +0000 (UTC) |
----- Original Message -----
> From: "Ole Tange" <address@hidden>
> This summer I had to rescue files from a broken disk. I did not have a
> same or bigger sized disk with me.
>
> It would have been really handy if I could have copied the bad sectors
> onto a sparse file, then overlayed the device with the sparse file,
> mounted it, and copied the files off the disk:
[ ... ]
> I would imagine all you have to do is ignore the blocks that succeeds
> reading in the first try, and do as normal for all the rest.
In fact, no -- while I am not The Man, it seems to me that at that point,
you have to worry about the *internals* of the filesystem, since the block
offsets are going to change, and the inodes must then also change.
It would seem to boost the complexity a *lot*, from my viewpoint.
Cheers,
-- jra
--
Jay R. Ashworth Baylink address@hidden
Designer The Things I Think RFC 2100
Ashworth & Associates http://www.bcp38.info 2000 Land Rover DII
St Petersburg FL USA BCP38: Ask For It By Name! +1 727 647 1274