DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: H McCurdy <hmccurdy@yahoo.com>, "dm-crypt@saout.de" <dm-crypt@saout.de>
Subject: Re: [dm-crypt] Can LUKS be used on a tmpfs?
Date: Wed, 23 Dec 2015 20:39:25 +0100	[thread overview]
Message-ID: <567AF86D.7040509@gmail.com> (raw)
In-Reply-To: <1738110781.2276602.1450897552997.JavaMail.yahoo@mail.yahoo.com>

On 12/23/2015 08:05 PM, H McCurdy wrote:
> Hi,
> 
> Is it possible to get crypt_init() to use a tmpfs instead of a block
> device or a file?

No, dm-crypt works only over block devices (/dev/ram* are block devices as well).

You can create a file on tmpfs and use that through loopback though
(but this adds another layer there).

Milan

      parent reply	other threads:[~2015-12-23 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1738110781.2276602.1450897552997.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-23 19:05 ` [dm-crypt] Can LUKS be used on a tmpfs? H McCurdy
2015-12-23 19:32   ` Michael Kjörling
2015-12-23 19:36   ` Sven Eschenberg
2015-12-23 19:39   ` Milan Broz [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=567AF86D.7040509@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=hmccurdy@yahoo.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox