diff options
Diffstat (limited to 'Documentation/nvme-ocp-tcg-configuration-log.txt')
-rw-r--r-- | Documentation/nvme-ocp-tcg-configuration-log.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/nvme-ocp-tcg-configuration-log.txt b/Documentation/nvme-ocp-tcg-configuration-log.txt new file mode 100644 index 0000000..41312ea --- /dev/null +++ b/Documentation/nvme-ocp-tcg-configuration-log.txt @@ -0,0 +1,44 @@ +nvme-ocp-tcg-configuration-log(1) +========================= + +NAME +---- +nvme-ocp-tcg-configuration-log - Retrieves tcg configuration of given OCP +compliant device + +SYNOPSIS +-------- +[verse] +'nvme ocp tcg-configuration-log' <device> [--output-format=<fmt> | -o <fmt>] + +DESCRIPTION +----------- +For the NVMe device given, send a tcg-configuration-log command and +provide the tcg configuration log. + +The <device> parameter is mandatory and may be either the NVMe character +device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1). + +This will only work on OCP compliant devices supporting this feature. +Results for any other device are undefined. + +On success it returns 0, error code otherwise. + +OPTIONS +------- +-o <fmt>:: +--output-format=<fmt>:: + Set the reporting format to 'normal' or 'json'. Only one output format + can be used at a time. The default is normal. + +EXAMPLES +-------- +* Has the program issue a tcg-configuration-log command to retrieve the 0xC7 log page. ++ +------------ +# nvme ocp tcg-configuration-log /dev/nvme0 +------------ + +NVME +---- +Part of the nvme-user suite. |