NVME-INTEL-MARKET-NAME(1)

πŸ’– NVME-INTEL-MARKET πŸ’–

okay so bestie, welcome to nvme-intel-market-name β€” it's the nvme-intel-market page, section 1, and it's lowkey a one-trick pony in the best way possible πŸŽ€


✨ NAME ✨

nvme-intel-market-name β€” sends an NVMe Identify Controller, then hands you back the result and the structure. it's giving "ask the drive who it thinks it is" πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

nvme [<global-options>] intel market-name <device> [--raw-binary | -b]

🌸 DESCRIPTION 🌸

so for the NVMe device you point at, this grabs the intel vendor specific marketing name log page and gives you the result plus the returned structure. the output is literally just the marketing name used to identify what kind of device it is β€” no cap, that's the whole vibe check 🌈

the <device> parameter is mandatory, babe, you cannot skip it. and it can be either:

  • the NVMe character device (ex: /dev/nvme0), or
  • a namespace block device (ex: /dev/nvme0n1)

on success, the structure can come back in one of several ways depending on which option flags you picked β€” like, it might get parsed by the program, or the raw buffer might get printed straight to stdout. dealer's choice, your call 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -b, --raw-binary β€” prints the raw buffer to stdout. the structure is not parsed by the program. this one overrides the vendor specific and human readable options, so it's the main character here πŸ‘‘

πŸ’œ GLOBAL OPTIONS πŸ’œ

these bad boys are defined up at the top-level nvme command, and they're available to this subcommand too:

  • --dry-run β€” prints the command that would be executed, but doesn't actually execute it. imaginary slay ✨
  • --no-ioctl-probing β€” disables probing for 64-bit IOCTL support.
  • --no-retries β€” disables retry logic on transient errors.
  • -o <fmt>, --output-format=<fmt> β€” sets the reporting format to normal, tabular, 'json, or binary. only one output format at a time, bestie, don't get greedy πŸ“
  • --output-format-version=<version> β€” picks the output format version. version 1 uses the original field naming, while version 2 (the default) gives you more consistent and script-friendly field names. other versions get rejected πŸ’€
  • --quiet β€” suppresses informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level. the way it just shuts things up 😌
  • --set-options=<key=value>[,<key=value>...] β€” sets libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” sets the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). patient queen behavior 🧚
  • -v, --verbose β€” increases the level of detail in the output. you can specify it multiple times to crank the verbosity even higher πŸ”₯
ngl these options can also be set as machine-wide defaults in nvme-cli.conf(5) β€” but a command-line flag always overrides the file, periodt πŸ’…

🌟 EXAMPLES 🌟

  • Get the marketing name
# nvme intel market-name /dev/nvme0

πŸ‘‘ NVME πŸ‘‘

part of the nvme-user suite πŸ’–


and that's the whole page, bestie β€” it's NVME-INTEL-MARKET(), sitting pretty at the footer with no date stamp on it, so go forth and ask your drive its name πŸ¦‹β­πŸ’œ

πŸ“¦ where this page comes from