On Wed, Nov 9, 2016 at 1:16 PM, Ross Zwisler <[email protected]> wrote: > Add information about the supported size suffixes to the documentation for > ndctl-create-namespace. This prevents users from doing silly things like > $((32*1024*1024*1024)) on the command line when running ndctl commands. > > Signed-off-by: Ross Zwisler <[email protected]> > --- > Documentation/ndctl-create-namespace.txt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/Documentation/ndctl-create-namespace.txt > b/Documentation/ndctl-create-namespace.txt > index a2f5e5b..5b62b95 100644 > --- a/Documentation/ndctl-create-namespace.txt > +++ b/Documentation/ndctl-create-namespace.txt > @@ -79,8 +79,10 @@ OPTIONS > -s:: > --size=:: > For NVDIMM devices that support namespace labels, set the > - namespace size. Otherwise it defaults to the maximum size > - specified by platform firmware. > + namespace size in bytes. Otherwise it defaults to the maximum > + size specified by platform firmware. This option supports the > + suffixes "k" or "K" for KiB, "m" or "M" for MiB, "g" or "G" for > + GiB and "t" or "T" for TiB. > > -e:: > --reconfig=::
Thanks Ross. Applied. _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
