@Tuomas: I agree - LVM is a cleaner solution (although at first, I thought the lvm handling would need too much code).
Good points about linking and /dev/dm*. @bugfix It turns out there is an obvious bug with detecting filesystems before running mkswap. My take on fixing it: https://code.launchpad.net/~cezary0/cryptsetup/bugfix474258 The patch probably applies cleanly to almost every version, so you can apply it locally already. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/474258 Title: Extremely dangerous! cryptswap killed my partition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/474258/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
