diff options
author | Eric Biggers <ebiggers@google.com> | 2019-09-30 15:32:39 -0400 |
---|---|---|
committer | Eric Sandeen <sandeen@sandeen.net> | 2019-09-30 15:32:39 -0400 |
commit | dafb55f9d29b6e068793d965360a3dda8914d9f2 (patch) | |
tree | 9e2df63d20d66e5c20c2637d290e9d591c92781e /man | |
parent | c808a0972226009e1161b23beecd8bd2af6f3f93 (diff) | |
download | xfsprogs-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.8 | 6 |
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 |