Derek Broughton derek at
Wed Jun 3 14:03:14 UTC 2009

Steve Cook wrote:

> Markus Schönhaber wrote:
>> Derek Broughton:
>>> I don't think so - when you create a swap file, it _has_ to be
>>> contiguous.
>> Really? Where is that documented? BTW: How does one create a file
>> that's guaranteed to be contiguous - regardless of it's size or the
>> file system used?

I _did_ say I don't think so.  I'm sure I read that, but not sure where.  I 
very much doubt you _can_ guarantee a file to be contiguous "regardless of 
file system".

> I’m sure I found some info showing how to hibernate to a swap file but
> can’t locate it at the moment

The last time I read up on swap files, the creator of the page I was reading 
said that you could use them anywhere you used swap partitions - so I asked 
about hibernation, he tried it, and it broke :-(  But that was probably two 
years ago - I really can't see a reason why it shouldn't be _possible_ but 
it would need you to be able to specify how to find the swap file in the 
initial boot process.  

More information about the ubuntu-users mailing list