From: Robert Nichols <rnicholsNOSPAM@comcast.net>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup luksFormat with the size option
Date: Sat, 01 Feb 2014 18:35:12 -0600 [thread overview]
Message-ID: <lck3rk$a7u$1@ger.gmane.org> (raw)
In-Reply-To: <20140202001819.GA8664@tansi.org>
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.
prev parent reply other threads:[~2014-02-02 0:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-01 20:50 [dm-crypt] cryptsetup luksFormat with the size option Matthew Thode
2014-02-01 21:34 ` Arno Wagner
2014-02-01 23:33 ` Robert Nichols
2014-02-02 0:18 ` Arno Wagner
2014-02-02 0:35 ` Robert Nichols [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lck3rk$a7u$1@ger.gmane.org' \
--to=rnicholsnospam@comcast.net \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.