Date: Sun, 6 Dec 2020 08:28:41 +0300 From: Yuri Pankov <yuripv@yuripv.dev> To: Krishnamraju Eraparaju <ekraju@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: when to use "/dev/nvme0ns1" Message-ID: <10a5e607-a852-716a-9872-984e7247996e@yuripv.dev> In-Reply-To: <CAC-Y4SRKsYspBBHHUs4dVJxAiO03FK6jfLJ23bY=vNQfUnA_qQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Krishnamraju Eraparaju wrote:
> Hi All,
>
>
> I see there are two ways of accessing NVMe disk:
> 1)GEOM based: /dev/nvd0 or /dev/nda0
> 2)/dev/nvme0ns1
>
> When should one use " /dev/nvme0ns1"?
See nvmecontrol(8) for the commands that operate on namespace ids. And
while you could still use nvd/nda devices for those, specifying the
namespace explicitly could be helpful.
An excerpt from man page:
DEVICE NAMES
Where ⟨namespace-id⟩ is required, you can use either the nvmeXnsY
device, or the disk device such as ndaZ or nvdZ. The leading /dev/
is omitted.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10a5e607-a852-716a-9872-984e7247996e>
