testdisk 命令详解

| 选择喜欢的代码风格  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

testdisk 命令安装:


-bash/zsh: testdisk command not found

# Windows (WSL2)
sudo apt-get update sudo apt-get install testdisk

# Debian
apt-get install testdisk

# Ubuntu
apt-get install testdisk

# Alpine
apk add testdisk

# Arch Linux
pacman -S testdisk

# Kali Linux
apt-get install testdisk

# Fedora
dnf install testdisk

# OS X
brew install testdisk

# Raspbian
apt-get install testdisk

# Dockerfile
 dockerfile.run/testdisk

# Docker
docker run cmd.cat/testdisk testdisk

testdisk 命令补充说明:


TestDisk 检查并恢复丢失的分区。

它适用于:

  • - BeFS(BeOS)
  • - BSD 磁盘标签(FreeBSD/OpenBSD/NetBSD)
  • - CramFS,压缩文件系统
  • - DOS/Windows FAT12、FAT16 和 FAT32
  • - HFS 和 HFS+,分层文件系统
  • - JFS,IBM 的日志文件系统
  • - Linux Ext2 和 Ext3
  • - Linux 突袭

  • RAID 1:镜像
  • RAID 4:带奇偶校验设备的条带阵列
  • RAID 5:具有分布式奇偶校验信息的条带阵列
  • RAID 6:具有分布式双冗余信息的条带阵列

  • - Linux 交换(版本 1 和 2)
  • - LVM 和 LVM2,Linux 逻辑卷管理器
  • - Mac分区图
  • - Novell 存储服务 NSS
  • - NTFS(Windows NT/2K/XP/2003/Vista)
  • - ReiserFS 3.5、3.6 和 4
  • - Sun Solaris i386 磁盘标签
  • - Unix 文件系统 UFS 和 UFS2 (Sun/BSD/...)
  • - XFS,SGI 的日志文件系统

testdisk 命令语法:


testdisk [/log] [/debug] [/dump] [device|image.dd|image.e01]

testdisk /version

testdisk /list [/log]

testdisk 命令选项:


/log
create a testdisk.log file

/debug
add debug information

/dump
dump raw sectors

/list
display current partitions

testdisk 命令实例:


查看 testdisk 版本:

testdisk --version

创建 TestDisk 数据日志文件:

testdisk

testdisk 命令扩展阅读:




testdisk 命令评论

共收录到 499Linux 命令