Messages in this thread | | | Date | Sat, 25 Sep 2004 03:30:13 +0200 | From | Andrea Arcangeli <> | Subject | Re: mlock(1) |
| |
On Fri, Sep 24, 2004 at 06:21:27PM -0700, David Lang wrote: > if you don't do a -c mkswap runs fast enough that it shouldn't be a > problem to do it every boot.
yep, speed isn't my worry, my worry is a misconfigured /etc/fstab wiping out a filesystem...
If I didn't worry about wiping out a filesystem, then using cryptoloop would be easier than to interface cryptoapi inside the swap methods to leave the header in cleartext, so that it can be still checked for a magic number before starting writing into it. (plus interfacing swap with cryptoapi makes suspend/resume life easier too) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |