cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.61k stars 197 forks source link

Does TestDisk support apfs? #138

Closed flyotlin closed 7 months ago

flyotlin commented 1 year ago

As per title, does TestDisk support apfs?

I know from the documentation on the website, TestDisk doesn't support apfs. But I saw apfs implementation from the source code.

Does this mean I can build the code myself and get TestDisk binary that supports apfs?

PS. I want to use TestDisk on my corrupt apfs external drive to recover data on it, because fsck_apfs said fsroot tree is corrupted.

Tarek-Hasan commented 7 months ago

From version 7.2 release, TestDisk supports APFS partition.

cgsecurity commented 7 months ago

TestDisk can recover deleted APFS partition (Assuming SSD trim operation didn't discard all information) and PhotoRec can recover data from APFS filesystem. TestDisk can't repair corrupted APFS fsroot tree.