Hullo,
2008/12/19 Wayne Stallwood ALUGlist@digimatic.co.uk:
On Fri, 2008-12-19 at 11:12 +0000, Mark Rogers wrote:
It works very well even if the partition information etc is lost as it just looks for recognisable file headers.
I wonder if it thus knows about all filesystems and will direclty go for the files, or if instead it hunts around for the superblocks for each filesystem and then lets the OSs filesystem drivers access the device (with the appropriate offsets). Though I can't see the latter working unless it can create device nodes for the partitions.
"Photorec ignores the filesystem, this way it works even if the filesystem is severely damaged." This is a problem for ascii text files, or other data. How does it detect a file if a file does not have a header (aka magic value)? Sure, some files like JPEGs have a certain magic value. Surely it won't work with custom file formats.
The FS recovery tool I wrote for ext2/3 had to use the filesystem metadata, as this tells you what the file is and where its data blocks are located (some of which can be on different locations on the physical disk). It'd be interesting to have a look at the source code - yet another thing to do over XMas ;)
Srdjan