From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mxNhfVHqa7Mt for ; Sat, 2 Nov 2013 10:15:49 +0100 (CET) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sat, 2 Nov 2013 10:15:49 +0100 (CET) Received: by mail-ea0-f171.google.com with SMTP id h10so2454755eak.2 for ; Sat, 02 Nov 2013 02:15:48 -0700 (PDT) Message-ID: <5274BB91.4030309@gmail.com> Date: Sat, 02 Nov 2013 09:45:05 +0100 From: Milan Broz MIME-Version: 1.0 References: <1383160837.32475.YahooMailNeo@web171201.mail.ir2.yahoo.com> In-Reply-To: <1383160837.32475.YahooMailNeo@web171201.mail.ir2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] cryptsetup remove List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: shyam prasad , "dm-crypt@saout.de" 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