Re: Hibernating To Swap Considered Harmful
From: Joseph Fannin
Date: Mon Jul 16 2007 - 20:13:21 EST
On Fri, Jul 13, 2007 at 10:35:22AM -0400, Jeremy Maitin-Shepard wrote:
> jfannin@xxxxxxxxx (Joseph Fannin) writes:
>
> There is a very simple solution to this obscure problem: (if I
> understand correctly, you want to dual boot Mac OS X and Linux (and
> maybe also Windows?))
>
> use LVM, thus allowing you to have as many volumes as you like in the
> partition
Ok.
Why are all these workarounds preferred, instead of proper suspend
support for swap files?
IOW, what reasons are there to *not* support swap files, other than the
hit-and-miss Linux suspend support?
I brought up the swap file issue to illustrate that writing
hibernation images to files needs to be supported anyway. Once you
have that, there is no good reason to write the hibernation image to
swap, and several reasons not to.
That my particular problem might be messily worked around isn't really
important in the context of that argument, which no one has responded
to.
(Aside from adding more administrivia to my Macintosh's setup, your
LVM suggestion would prevent the ext3 drivers for Windows and OS X
from working, as they don't do LVM. This is arguably not Linux's
problem -- but Linux *already supports* a working solution).
--
Joseph Fannin
jfannin@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/