Scan raw block device data for known file types on linux

masi asked:

I’m looking for a way to search a raw block device for file type patterns on linux. The partition type is known and the partition table exists.

I want a linux based (open source maybe?) programm that allows me to search for known file types (by looking for file type patterns or header data).

Is there anything you can think about to do this?

My answer:

photorec does this. I am sure there are other tools as well, but this one is likely to already be present on your Live CD, or installable to it.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.