Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for this filesystem wasn't enabled during compilation. #156

Open
em2943 opened this issue May 27, 2024 · 7 comments
Open

Support for this filesystem wasn't enabled during compilation. #156

em2943 opened this issue May 27, 2024 · 7 comments

Comments

@em2943
Copy link

em2943 commented May 27, 2024

I was trying to recover files from an xfs partition & testdisk says "Support for this filesystem wasn't enabled during compilation." I was just asking why is xfs file recovery not compiled by default.

@cgsecurity
Copy link
Owner

The message is misleading... I will have to fix it

Currently testdisk can detect XFS partitions but TestDisk can not list the files from XFS filesystems.
PhotoRec can recover files from XFS but it can not distinguish between XFS allocated and non-allocated blocks, so it recovers both deleted and non-deleted files.

@mirh
Copy link

mirh commented May 31, 2024

Wait a minute.. Does this mean that photorec normally drops for good files that it thinks weren't deleted?

@em2943
Copy link
Author

em2943 commented May 31, 2024

the fact of both of theses are odd to me

@cgsecurity
Copy link
Owner

Wait a minute.. Does this mean that photorec normally drops for good files that it thinks weren't deleted?

For FAT12/FAT16/FAT32/exFAT/ext2/3/4/NTFS, PhotoRec lets you choose what you want to recover

[ Free ] Scan for files from unallocated space only
[ Whole ] Extract files from whole partition

For other filesystems, PhotoRec always recovers files from whole partition, it scans all (allocated and unallocated) blocks.

@mirh
Copy link

mirh commented Jun 1, 2024

Oh, ok, you meant "filesystem allocated" (like, within the boundaries of partition). Not "file allocation table" allocated.

@Katkidnapped
Copy link

Can testdisk detect Btrfs and LUKS partitions? It shows "Support for this filesystem hasn't been implemented."

@mirh
Copy link

mirh commented Feb 2, 2025

Supposedly yes.
Ok nvm I think btrfs may be supported just to recover a whole partition, and not file/folders inside?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants