cryptsetup dm_mod

Rick Stevens ricks at nerd.com
Wed Oct 21 00:50:04 UTC 2009


Petrus de Calguarium wrote:
> Rick Stevens wrote:
> 
>> You can only encrypt entire devices (e.g. partitions), 
> not individual
>> directories or directory trees.
>>
> I guess a disk image is considered a device (a loop 
> device), because that is how I use it. I have never 
> encrypted anything that begins with /dev.

A loopback mount creates a device.  Example: mounting an ISO image
using "mount -t iso9660 -o loop /path/to/isoimage.iso /mnt", then
running "mount" shows:

	/dev/loop0 on /mnt type iso9660 (rw)

Good enough?
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-          Consciousness: that annoying time between naps.           -
----------------------------------------------------------------------




More information about the users mailing list