Results 1 to 1 of 1

Thread: dd on an encrypted partition while it is mounted

  1. #1
    Join Date
    Mar 2010
    Location
    Lake Constance
    Beans
    155
    Distro
    Kubuntu 14.04 Trusty Tahr

    dd on an encrypted partition while it is mounted

    Hello,

    this is a short question:

    If I encrypt a partition and mount it providing the key, and afterwards use dd to copy blocks from that partition, will they be encrypted or unencrypted?

    On the one hand, the encryption should be transparent, resulting in an unencrypted image, but on the other hand, dd uses raw access, so it might bypass the transparent decryption layer alltogether, giving me an encrypted image.

    Thank you very much,

    Blutkoete

    P.S.: Possibility 3: The unencrypted partition is something virtual in my file system, so the result depends on whether I dd from the real physical partition or from that virtual unencrypted one.
    Last edited by Blutkoete; June 14th, 2014 at 09:27 PM. Reason: Typo.
    If SUDO is all-powerful, can SUDO start a process that SUDO can't kill?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •