gnupg/g13
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
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am build: Fix library dependency of g13 test program. 2021-02-12 15:33:11 +09:00
all-tests.scm tests: Support semihosted environment. 2022-12-01 13:59:06 +09:00
backend.c Replace all calls to stat by gnupg_stat. 2020-10-20 16:38:06 +02:00
backend.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-dmcrypt.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-dmcrypt.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-encfs.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-encfs.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-truecrypt.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-truecrypt.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-syshelp.c g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
call-syshelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
create.c g13: Include a now missing header file. 2020-11-04 16:13:05 +01:00
create.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
encfs-1.5_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
encfs-1.7.3_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
g13-common.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
g13-common.h g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
g13-syshelp.c g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
g13-syshelp.h g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
g13.c g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
g13.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
g13tuple.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
g13tuple.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyblob.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
keyblob.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mount.c Replace all calls to stat by gnupg_stat. 2020-10-20 16:38:06 +02:00
mount.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mountinfo.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
mountinfo.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
runner.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
runner.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
server.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
server.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sh-blockdev.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
sh-cmd.c g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
sh-dmcrypt.c g13: New option --no-mount. 2024-01-09 19:52:04 +01:00
suspend.c Replace all calls to access by gnupg_access 2020-10-20 12:15:55 +02:00
suspend.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-g13tuple.c Remove -I option to common. 2017-03-07 20:25:54 +09:00