cryptsetup manpage: misleading/imprecise description of --size for resize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Incriminated part of the cryptsetup manpage:

" If --size (in sectors) is not specified, the size of the
  underlying block device is used. "

In fact the size of the underlying block device is used _to compute_ the
_maximum_ size that can be made available, which in case of LUKS is not
the whole block device space.  The manpage can be misleading to someone
who doesn't know dmcrypt well and wants to resize a LUKS container.  At
least append something like "to compute the maximum available size" or
change to "the whole available space is used" for example.

The maximum size in the case of LUKS is, I think, the size of the block
device minus the offset; this could be additionaly stated in the
manpage.

Thanks
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux