diff options
author | Werner Koch <[email protected]> | 2024-01-09 18:52:04 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-01-09 18:52:04 +0000 |
commit | 6233a17ac99deb8d246458380813b621df2609bf (patch) | |
tree | a15a5797bf8cb809353e3e1086933563555d9245 /g13/g13-syshelp.c | |
parent | gpg: Print a useful error id SKI algo 253 is found. (diff) | |
download | gnupg-6233a17ac99deb8d246458380813b621df2609bf.tar.gz gnupg-6233a17ac99deb8d246458380813b621df2609bf.zip |
g13: New option --no-mount.
* g13/g13.c (oNoMount): New.
(opts): Add --no-mount.
(main): Implement this.
* g13/g13-common.h (opt): Add field no_mount.
* common/status.h (STATUS_PLAINDEV): New.
* g13/sh-cmd.c (has_option): Uncomment.
(cmd_mount): Add option --no-mount and pass down.
* g13/sh-dmcrypt.c (sh_dmcrypt_mount_container): Add arg nomount and
emit PLAINDEV status line.
(sh_dmcrypt_umount_container): Rund findmnt before umount.
--
This option can be used to decrypt a device but not to mount it. For
example to run fsck first. A command or option to run fsck before a
mount will eventually be added.
The use of findmnt is needed so that we can easily remove a device
which has not been mounted.
Diffstat (limited to 'g13/g13-syshelp.c')
-rw-r--r-- | g13/g13-syshelp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g13/g13-syshelp.c b/g13/g13-syshelp.c index 6a4d3a446..0de1cf15d 100644 --- a/g13/g13-syshelp.c +++ b/g13/g13-syshelp.c @@ -584,7 +584,7 @@ g13_syshelp_i_know_what_i_am_doing (void) if (gnupg_access (fname, F_OK)) { log_info ("*******************************************************\n"); - log_info ("* The G13 support for DM-Crypt is new and not matured.\n"); + log_info ("* The G13 support for DM-Crypt is not yet widely used.\n"); log_info ("* Bugs or improper use may delete all your disks!\n"); log_info ("* To confirm that you are ware of this risk, create\n"); log_info ("* the file '%s'.\n", fname); |