我可以从终端设置 Truecrypt 选项吗?

我可以从终端设置 Truecrypt 选项吗?

当尝试卸载加密分区时,我得到了 ol'。interwebz Error: device-mapper: remove ioctl failed: Device or resource busy推荐的解决方案似乎是更改一些 truecrypt 设置以不使用内核加密服务。

如果不是系统没有安装窗口管理器的话,这将很容易尝试。

有没有办法从终端更改 truecrypt 设置“不使用内核加密服务”?

答案1

根据truecrypt -h

-m, --mount-options=OPTION1[,OPTION2,OPTION3,...]
 Specifies comma-separated mount options for a TrueCrypt volume:
  headerbak: Use backup headers when mounting a volume.
  nokernelcrypto: Do not use kernel cryptographic services.
  readonly|ro: Mount volume as read-only.
  system: Mount partition using system encryption.
  timestamp|ts: Do not restore host-file modification timestamp when a volume
   is dismounted (note that the operating system under certain circumstances
   does not alter host-file timestamps, which may be mistakenly interpreted
   to mean that this option does not work).
 See also option --fs-options.

那么,尝试一下这个:

truecrypt -t -m=nokernelcrypto volume mountpoint

相关内容