man: Fix lvcreate man page and clarify -L option
PATCH 1/1 man: Fix lvcreate man page and clarify -L option
Right now -L option does not say what's the difference between lower case and upper case suffixes. They both are same. clarify that.
Right now man page says K represents kilobyte. That is 1000 bytes. But actually code assumes it to be 1024 bytes. That is kibibytes. Clarify it.
https://en.wikipedia.org/wiki/Kibibyte
Signed-off-by Vivek Goyal <[email protected]>
--- man/lvcreate.8.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
man/lvcreate.8.in +6 -4
@@ -434,11 +434,13 @@ where the state of the flag is reported within \fBlv_attr\fP bits. .IR \fB\-L ", " \fB\-\-size " " LogicalVolumeSize [ bBsSkKmMgGtTpPeE ] Gives the size to allocate for the new logical volume. A size suffix of \fIB\fR for bytes, \fIS\fR for sectors as 512 bytes, -\fIK\fR for kilobytes, \fIM\fR for megabytes, -\fIG\fR for gigabytes, \fIT\fR for terabytes, \fIP\fR for petabytes -or \fIE\fR for exabytes is optional. +\fIK\fR for kibibytes (1024 bytes), \fIM\fR for mebibytes (1024 kibibytes), +\fIG\fR for gibibytes (1024 mebibytes), \fIT\fR for tebibytes (1024 gibibytes), +\fIP\fR for pebibytes (1024 tebibytes) +or \fIE\fR for exbibytes (1024 pebibytes) is optional. .br -Default unit is megabytes. +Default unit is mebibytes. Lower case suffixes represent same unit as +upper case suffixes. .TP .IR \fB\-s ", " \fB\-\-snapshot " " OriginalLogicalVolume { Name | Path } Creates a snapshot logical volume (or snapshot) for an existing, so called
Signature · 1 line
2.1.0