testdisk: add page (#23208)

This commit is contained in:
Alex Chen
2026-07-25 11:48:01 +03:00
committed by GitHub
parent 433cee3a9d
commit c05caaacf0
+25
View File
@@ -0,0 +1,25 @@
# testdisk
> Scan and repair disk partitions.
> See also: `photorec`, `fdisk`.
> More information: <https://manned.org/testdisk>.
- Start TestDisk on a specific device:
`sudo testdisk {{/dev/sdX}}`
- Start TestDisk on a disk image:
`sudo testdisk {{path/to/image.dd}}`
- Start TestDisk and create a log file (`testdisk.log`):
`sudo testdisk /log {{/dev/sdX}}`
- List current partitions:
`sudo testdisk /list`
- Display version:
`testdisk /version`