logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme-get-ns-id - Retrieves the namespace ID for an NVMe block device

Description

       Retrieves the namespace ID for an NVMe block device. The <device> param is mandatory and must be an NVMe
       block device (ex: /dev/nvme0n1).

Examples

       •   Shows the namespace id for the given block device:

               # nvme get-ns-id /dev/nvme0n1

Name

       nvme-get-ns-id - Retrieves the namespace ID for an NVMe block device

Nvme

       Part of the nvme-user suite

NVMe                                               02/16/2025                                  NVME-GET-NS-ID(1)

Options

       -o <fmt>, --output-format=<fmt>
           Set the reporting format to normal, json or binary. Only one output format can be used at a time.

       -v, --verbose
           Increase the information detail in the output.

Synopsis

nvmeget-ns-id <device> [--output-format=<fmt> | -o <fmt>] [--verbose | -v]

See Also