From: "Verma, Vishal L" <vishal.l.verma@intel.com>
To: "linux-nvdimm@lists.01.org" <linux-nvdimm@lists.01.org>,
"msys.mizuma@gmail.com" <msys.mizuma@gmail.com>
Cc: "m.mizuma@jp.fujitsu.com" <m.mizuma@jp.fujitsu.com>
Subject: Re: [PATCH] ndctl, documentation: Clarify the dimm id for ndctl list d option
Date: Tue, 7 Aug 2018 19:26:25 +0000 [thread overview]
Message-ID: <1533669983.18175.29.camel@intel.com> (raw)
In-Reply-To: <20180806212130.1605-1-msys.mizuma@gmail.com>
On Mon, 2018-08-06 at 17:21 -0400, Masayoshi Mizuma wrote:
> From: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
>
> User may be confused the dimm id description of ndctl list -d
> option because ndctl list says id, but the id is not useful to
> d option.
>
> ]# ndctl list -d nmem7 | jq -r .id
> cdab-0a-07e0-fefffeff
> ]# ndctl list -d cdab-0a-07e0-fefffeff
> ]#
>
> The appropriate id here is X in 'nmemX' (Above example, X is 7).
> Let's clarify the description.
>
> Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
> ---
> Documentation/ndctl/ndctl-list.txt | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Looks good, Applied.
>
> diff --git a/Documentation/ndctl/ndctl-list.txt
> b/Documentation/ndctl/ndctl-list.txt
> index 13ebdcd..1b5882a 100644
> --- a/Documentation/ndctl/ndctl-list.txt
> +++ b/Documentation/ndctl/ndctl-list.txt
> @@ -64,9 +64,10 @@ include::xable-region-options.txt[]
>
> -d::
> --dimm=::
> - An 'nmemX' device name, or dimm id number. Filter listing by
> - devices that reference the given dimm. For example to see
> all
> - namespaces comprised of storage capacity on nmem0:
> + An 'nmemX' device name, or dimm id number. The dimm id
> number
> + here is X in 'nmemX'. Filter listing by devices that
> reference
> + the given dimm. For example to see all namespaces comprised
> + of storage capacity on nmem0:
> ----
> # ndctl list --dimm=nmem0 --namespaces
> ----
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm
prev parent reply other threads:[~2018-08-07 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 21:21 [PATCH] ndctl, documentation: Clarify the dimm id for ndctl list d option Masayoshi Mizuma
2018-08-07 19:26 ` Verma, Vishal L [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533669983.18175.29.camel@intel.com \
--to=vishal.l.verma@intel.com \
--cc=linux-nvdimm@lists.01.org \
--cc=m.mizuma@jp.fujitsu.com \
--cc=msys.mizuma@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox