DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Is removing a HDD after umount, without remove, considered safe?
@ 2012-02-06 14:14 Matthias Schniedermeyer
  0 siblings, 0 replies; only message in thread
From: Matthias Schniedermeyer @ 2012-02-06 14:14 UTC (permalink / raw)
  To: dm-crypt

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-06 14:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 14:14 [dm-crypt] Is removing a HDD after umount, without remove, considered safe? Matthias Schniedermeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox