Re: Encrypted fs in file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03.04.2016 00:07, doark@xxxxxxxx wrote:
> Hello,
> I wanted to make certain that I got this process right since I've never
> done it before and I can't seem to find docs on the subject.
> 
> 1. Cat /dev/zero into a new file till it is big enough.
> 2. Use cryptsetup on the file (format and open).
> 3. Use mkfs on the loop device.
> 4. Mount the loop device as if it were a block device.
> 
> Does this look correct to you?

Nearly.

3) Not the loop device, but the dm-device, the loop it inbetween and is 
handled automatically.

A symlink for the dm-device appears in /dev/mapper/ with the name you 
provided for the open command.

Same for 4) You mount the dm-device




-- 

Matthias
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux