Re: cryptsetup dm_mod

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

 



François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

I want to use cryptsetup to encrypt partitions and directories.

When I use cryptsetup:

cryptsetup --verbose --verify-passphrase luksFormat /home/jd/Documents/

for instance, the answer is:

Command failed: Cannot communicate with device-mapper. Is the dm_mod
module loaded?

OK! but I cannot find any dm_mod module on my system and I don't know
what package provides this module....

You can only encrypt entire devices (e.g. partitions), not individual
directories or directory trees.

I'm not sure how your partitioning is set up, but if you used the
default, then you have a "/boot" partition and a "/" partition (which
contains the /home directory).  If that's the case, you can only encrypt
/, not /home or /home/jd or /home/jd/Documents.

In other words, you can only encrypt items starting with "/dev" in the
first column of the output of the "mount" command.  There are exceptions
(encrypted NFS volumes and the like), but for 95% of the world, the
preceeding is true.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-  Animal testing is futile.  They always get nervous and give the   -
-                             wrong answers                          -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux