When setting up LUKS, erase the cleartext device rather than the cryptotext one
authorDavid Zeuthen <zeuthen@gmail.com>
Thu, 5 Jul 2012 18:20:27 +0000 (14:20 -0400)
committerDavid Zeuthen <zeuthen@gmail.com>
Thu, 5 Jul 2012 18:20:27 +0000 (14:20 -0400)
commit6e15709374d1486af0c4ce2908176875e539ac83
tree02c6e879a81a75360cb978a9156c742d10ebb070
parenta06f8d156a9ac906495db40d7f1265b7e6748866
When setting up LUKS, erase the cleartext device rather than the cryptotext one

That way the cryptotext device will be full of noise instead of
zeroes, that way not conveying that there isn't a lot of data on the
device.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
src/udiskslinuxblock.c