mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
testdisk: add page (#23208)
This commit is contained in:
@@ -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`
|
||||
Reference in New Issue
Block a user