All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] cryptsetup remove
@ 2013-10-30 19:20 shyam prasad
  2013-11-02  8:45 ` Milan Broz
  0 siblings, 1 reply; 2+ messages in thread
From: shyam prasad @ 2013-10-30 19:20 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

Hello,

I am using cryptsetup-1.2 without luks and I have noticed that while removing the mapped device using 'cryptsetup remove', cryptsetup does a read operation. I have found that this is not true in cryptsetup-1.5.1. Is this a side effect of a change or was this explicitly modified. If it was intentional, could someone point me to the patch.


Thanks

[-- Attachment #2: Type: text/html, Size: 1011 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dm-crypt] cryptsetup remove
  2013-10-30 19:20 [dm-crypt] cryptsetup remove shyam prasad
@ 2013-11-02  8:45 ` Milan Broz
  0 siblings, 0 replies; 2+ messages in thread
From: Milan Broz @ 2013-11-02  8:45 UTC (permalink / raw)
  To: shyam prasad, dm-crypt

On 30.10.2013 20:20, shyam prasad wrote:
> Hello,
>
> I am using cryptsetup-1.2 without luks and I have noticed that while
> removing the mapped device using 'cryptsetup remove', cryptsetup does
> a read operation. I have found that this is not true in
> cryptsetup-1.5.1. Is this a side effect of a change or was this
> explicitly modified. If it was intentional, could someone point me to
> the patch.


Can you be more specific? Which read operation, how did you see it
- strace? And what's the real problem?

I do not see any explicit read for removal of plain device.

Note that a lot of scanning can happen through udev rules when some device
is created, modified (it scans device after close for write) etc.

Milan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-02  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-30 19:20 [dm-crypt] cryptsetup remove shyam prasad
2013-11-02  8:45 ` Milan Broz

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.