From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 14 Dec 2009 20:45:30 +0100 (CET) Message-ID: <4B2695D7.1060103@redhat.com> Date: Mon, 14 Dec 2009 20:45:27 +0100 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] where is dm_task_create implemented? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chris Cross Cc: dm-crypt On 12/14/2009 08:18 PM, Chris Cross wrote: > I'm trying to figure out how "cryptsetup create" works so I'm looking at > dm_create_device() in libdevmapper.c. Can you tell me where the function > dm_task_create() is implemented? I actually don't see lidevmapper.c > compiled when I build cryptsetup... dm_task_create is implemented in libdevmapper, the device-mapper library. libdevmapper.c (the only suported backend) must be compiled in otherwise cryptsetup will not work (there is no other backend implemented). Please be sure you are using recent source code, old code allowed compilation without libdevmapper library resulting in non-functional code. See http://code.google.com/p/cryptsetup/source/checkout Milan -- mbroz@redhat.com