1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 6233a17ac9
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.
2024-01-09 19:52:04 +01:00
..
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2024-01-09 19:52:04 +01:00
2010-11-10 12:49:39 +00:00
2017-03-07 20:25:54 +09:00
2024-01-09 19:52:04 +01:00
2024-01-09 19:52:04 +01:00
2024-01-09 19:52:04 +01:00
2024-01-09 19:52:04 +01:00
2020-02-18 18:07:46 -05:00
2017-03-07 20:25:54 +09:00
2018-10-24 15:56:18 -04:00
2018-10-24 15:56:18 -04:00
2020-02-18 18:07:46 -05:00
2017-03-07 20:25:54 +09:00
2024-01-09 19:52:04 +01:00
2024-01-09 19:52:04 +01:00
2017-03-07 20:25:54 +09:00