How to read a deleted disc partition and recover data.

Hello, I'm trying to make a project to recover deleted data from external storage devices. Is there an API that can assist me in reading the disc partition and recovering data?

There are APIs for this, but they depend on the operating system and other platform details, not abstracted away by the Rust standard library.

Are you planning to target this at Windows, Mac, Linux, Redox, or running without an operating system?

Depends on the operating system. On Linux you can simply read the entire raw disk as a file.

Also, SSD's can make recovering data this way problematic because of wear leveling.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.