Re: cryptsetup luksFormat with the size option

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

 



On 02/01/2014 06:18 PM, Arno Wagner wrote:
On Sun, Feb 02, 2014 at 00:33:27 CET, Robert Nichols wrote:
On 02/01/2014 03:34 PM, Arno Wagner wrote:
On Sat, Feb 01, 2014 at 21:50:19 CET, Matthew Thode wrote:
Am I correct in stating that setting --size=8 will make the sectors 4k
in size?  Also, how can I check what existing luks volumes are set to?

--
-- Matthew Thode


No, you are not. As the man-page clearly states, this sets the
size of the underlying device as multiple of 512B sectors.

I submit that for the luksFormat action, the --size option does _nothing_!

Yes. Nor should it. See the man-page:

   --size, -b <number of 512 byte sectors>
          Force the size of the underlying device in sectors of 512 bytes.
         This option is only relevant for the open and resize actions.
                                              ^^^^     ^^^^^^

I do not see why this is apparently a surprise to some....

I was just pointing it out in the context of this thread, where it was
not previously mentioned as meaningless.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
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