Messages in this thread | | | Date | Thu, 24 Apr 2003 10:17:33 +1000 | From | CaT <> | Subject | Re: Fix SWSUSP & !SWAP |
| |
On Wed, Apr 23, 2003 at 05:07:59PM -0700, Andrew Morton wrote: > Pavel Machek <pavel@ucw.cz> wrote: > > > > If you really want to "solve" it reliably, you can always > > > > swapon /dev/hdfoo666 > > Seems that using a swapfile instead of a swapdev would fix that neatly. > > But iirc, suspend doesn't work with swapfiles. Is that correct? If so, > what has to be done to get it working?
I'm curious. What does a swapfile solve that a swapdev does not? Either way you need to prealloc the case (either have a chunky file in a partition or a partition set aside) or you need to keep enough room avail to fit the file when it's needed.
-- Martin's distress was in contrast to the bitter satisfaction of some of his fellow marines as they surveyed the scene. "The Iraqis are sick people and we are the chemotherapy," said Corporal Ryan Dupre. "I am starting to hate this country. Wait till I get hold of a friggin' Iraqi. No, I won't get hold of one. I'll just kill him." - http://www.informationclearinghouse.info/article2479.htm - 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/
| |