DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Schniedermeyer <ms@citd.de>
To: dm-crypt@saout.de
Subject: [dm-crypt] Is removing a HDD after umount, without remove, considered safe?
Date: Mon, 6 Feb 2012 15:14:08 +0100	[thread overview]
Message-ID: <20120206141408.GA29217@citd.de> (raw)

Hi


I want to integrate a dm-crypted USB-HDD with autofs.

The first part of setting up dm-crypt can be put into udev, so that the 
dm-crypt-device is setup immediatly after plugging in the HDD, which in 
turn can then be used with autofs.

So my question is: Is it safe to unplug the HDD after the filesystem is 
umounted, but with the dm-crypt-device still in existance?
(IOW: Are all dirty blocks immediately written to the HDD (at least at 
umount-time), or can there be something still buffered in the dm-crypt 
device?)





Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

                 reply	other threads:[~2012-02-06 14:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120206141408.GA29217@citd.de \
    --to=ms@citd.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox