Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am installing a new copy of debian squeeze. I decided to use an encrypted Lvm this time. I noticed that is taking a really really long time to format the drive. It says it is erasing partition #5 which usually swap. Why is it wiping the partition?

share|improve this question
up vote 3 down vote accepted

Because the swap partition contains data that was pushed out of memory. As such, it could contain unencrypted data, representing a security risk. If you're using on-disk encryption, presumably you are concerned about the machine falling into unauthorised hands. Just as you don't want the data partitions to be readable by unauthorised users, you don't want the swap partition readable, as that could reveal data also.

share|improve this answer
Thanks for the clarification. – ianc1215 Oct 23 '11 at 8:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .