lkml.org 
[lkml]   [2004]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.387 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site