根据testdisk_static --help,选项似乎是通过在位置参数前加上/来指定的(我不相信,但这是我理解帮助的唯一方法);它说
Usage: testdisk [/log] [/debug] [file.dd|file.e01|device]我使用的是testdisk_static二进制文件,它给了我帮助信息。我试过sudo testdisk_static //path/to/file.log和sudo testdisk_static /path/to/file,这给了我Unable to open file or device /path/to/file.log: Inappropriate ioctl for device。
testdisk_static /version正确地打印版本,使用文件参数进行调用也同样有效,例如sudo testdisk_static /dev/sdxY。
我在Ubuntu14.10 amd64上使用了7.0。
发布于 2014-11-14 08:14:54
在testdisk的手册中:
/log create a testdisk.log file我想说的是,如果您指定了/log,那么文件testdisk.log将在您当前的工作目录中创建。
https://askubuntu.com/questions/549426
复制相似问题