]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce the 'n' flag for the geli attach command.
authoroshogbo <oshogbo@FreeBSD.org>
Wed, 9 May 2018 20:53:38 +0000 (20:53 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Wed, 9 May 2018 20:53:38 +0000 (20:53 +0000)
commit9f099d87646b849288e221651c1dd3dde8dacaac
treeafb9114bb805dbd3b702b8c00670b8322c068a83
parent062a74876b0a4faec83ebdeb321c0eaae53e88cb
Introduce the 'n' flag for the geli attach command.

If the 'n' flag is provided the provided key number will be used to
decrypt device. This can be used combined with dryrun to verify if the key
is set correctly. This can be also used to determine which key slot we want to
change on already attached device.

Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D15309
sbin/geom/class/eli/geli.8
sbin/geom/class/eli/geom_eli.c
stand/geli/geliboot.c
sys/geom/eli/g_eli.c
sys/geom/eli/g_eli.h
sys/geom/eli/g_eli_ctl.c
sys/geom/eli/g_eli_key.c