aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-09-30 15:32:39 -0400
committerEric Sandeen <sandeen@sandeen.net>2019-09-30 15:32:39 -0400
commitdafb55f9d29b6e068793d965360a3dda8914d9f2 (patch)
tree9e2df63d20d66e5c20c2637d290e9d591c92781e /man
parentc808a0972226009e1161b23beecd8bd2af6f3f93 (diff)
downloadxfsprogs-dev-dafb55f9d29b6e068793d965360a3dda8914d9f2.tar.gz
xfs_io/encrypt: add 'enckey_status' command
Add an 'enckey_status' command to xfs_io, to provide a command-line interface to the FS_IOC_GET_ENCRYPTION_KEY_STATUS ioctl. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Diffstat (limited to 'man')
-rw-r--r--man/man8/xfs_io.86
1 files changed, 6 insertions, 0 deletions
diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8
index 7893596186..9d70c159c2 100644
--- a/man/man8/xfs_io.8
+++ b/man/man8/xfs_io.8
@@ -779,6 +779,12 @@ is a privileged operation.
.RE
.PD
.TP
+.BI "enckey_status " keyspec
+On filesystems that support encryption, display the status of an encryption key.
+.I keyspec
+is a hex string specifying the key for which to display the status, as a
+16-character "key descriptor" or a 32-character "key identifier".
+.TP
.BR lsattr " [ " \-R " | " \-D " | " \-a " | " \-v " ]"
List extended inode flags on the currently open file. If the
.B \-R