如何以非交互方式运行 cryptsetup luksFormat
当LUKS格式化分区时,我收到消息
# cryptsetup luksFormat /dev/sdb
WARNING!
========
This will overwrite data on /dev/sdb irrevocably.
Are you sure? (Type uppercase yes): YES
Run Code Online (Sandbox Code Playgroud)
紧随其后Enter passphrase:
。
我怎样才能自动回答YES
这个问题“你确定吗?