LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Different between Device Mapper and DM-Crypt and Cryptsetup , LUKS (https://www.linuxquestions.org/questions/linux-software-2/different-between-device-mapper-and-dm-crypt-and-cryptsetup-luks-4175429559/)

saeedsssss 09-29-2012 04:00 AM

Different between Device Mapper and DM-Crypt and Cryptsetup , LUKS
 
Hi
Device Mapper and DM-Crypt , Cryptsetup , LUKS use for encrypt disk .

what's different and relate between this four case ?

if you have picture that show place these on kernel Linux , please insert that for me .

tankyou.

nugat 10-01-2012 02:57 AM

Quote:

Originally Posted by saeedsssss (Post 4792294)
Hi
Device Mapper and DM-Crypt , Cryptsetup , LUKS use for encrypt disk .

what's different and relate between this four case ?

  • Device Mapper: A disk framework that creates virtual block device to physical block device mappings (look in /dev/mapper/ on your system)
  • DM-Crypt: disk encryption subsystem provided by the kernel (Linux, etc.), typically loaded as a kernel module, "dm-crypt"
  • Cryptsetup: a binary tool (e.g., /usr/sbin/cryptsetup) used to encrypt disks (using dm-crypt managed device-mapper mappings)
  • LUKS: a specification and format of on-disk encryption designed for use w/dm-crypt
so...all four are likely used if you are using cryptsetup to encrypt a drive/partition on a Linux system.


All times are GMT -5. The time now is 05:38 PM.