From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 28791210DBE70 for ; Mon, 6 Aug 2018 14:21:47 -0700 (PDT) Received: by mail-qt0-x242.google.com with SMTP id h4-v6so15589651qtj.7 for ; Mon, 06 Aug 2018 14:21:47 -0700 (PDT) From: Masayoshi Mizuma Subject: [PATCH] ndctl, documentation: Clarify the dimm id for ndctl list d option Date: Mon, 6 Aug 2018 17:21:30 -0400 Message-Id: <20180806212130.1605-1-msys.mizuma@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: linux-nvdimm@lists.01.org Cc: Masayoshi Mizuma List-ID: From: Masayoshi Mizuma 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 --- Documentation/ndctl/ndctl-list.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ---- -- 2.18.0 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm