util linux and dm crypt

wrobell wrobell at pld-linux.org
Fri Nov 12 01:39:58 CET 2004


I've just tested dm crypt support for util-linux (mount command exactly).
It seems, that it works good. Example of usage:

  mount -t iso9660 -o encryption=aes:256:sha512,loop image.iso /media/cdrom

The problem is that mount depends on following packages, now:

    cryptsetup
    libgcrypt
    libgpg-error

These packages contain libraries in /usr:

    /usr/lib/libcryptsetup.so
    /usr/lib/libgcrypt.so
    /usr/lib/libgpg-error.so

It is not acceptable because mount command is sometimes required to mount
/usr depending on system setup.

Two solutions:
1. Move above libraries to /lib
2. Compile dm crypt support statically

I would prefer first solution. Any flames?

    wrobell <wrobell at pld-linux.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20041112/c3c46c5b/attachment-0002.bin


More information about the pld-devel-en mailing list