From: Peter Herweijer (pieterh@sci.kun.nl)
Date: 05/14/93


From: pieterh@sci.kun.nl (Peter Herweijer)
Subject: Re: Sharing a swap partition: Linux and Windows?
Date: Fri, 14 May 1993 10:29:03 GMT

In <1993May13.170229.18156@nrao.edu> rgooch@rp.CSIRO.AU (Richard Gooch) writes:

>> That leads me to a completely unholy idea that just might work.
> ^^^^^^
> I hope you go to confession after suggesting this...

I am sure Father von Neumann will never forgive me.

>> [...] I let Windoze create a swap file on the DOS partition, the size
>> of which is slightly larger than the Linux swapspace I want to have.
>> Then I figure out where exactly this swap file is located in terms
>> of sectors/heads/cylinders. I set up a Linux swap partition _inside_
>> this swap file. [...]

> Oh, my! Don't ever unfragment your DOG drive again (or you'll be sorrry, he,
> he).

Not so. The Windoze permanent swap file isn't touched by any defragger
I know---I suspect that would lead to major trouble unless Windoze does
a sanity check before using it.

>> Any chance it'll work? Or will some programs go berserk over it?

> Don't know. You could always patch things to force it. Certainly, it's, er, a
> novel solution.

I don't particularly like the idea of screwing up my partition table
like that. I think the Linux swap partition had better be a primary.
Well, I had to clean up my drive anyway :-)

Peter.