Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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. –  Solignis Oct 23 '11 at 8:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.