Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
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.
"photorec" was already mentioned, so I would like to add foremost. You can just add header and footer (and size limit) to a .conf, and search for anything you wish - easier if you're searching for non-standard file formats.