Derek Broughton derek at
Wed Jun 3 13:54:11 UTC 2009

Michael.Coll-Barth at wrote:

>> From: Derek Broughton
>> Michael.Coll-Barth at wrote:
>> > 2) Aren't swap files the recommended approach these days?
>> afaik, they still can't be used for hibernation.
> After I posted my questions, I went looking for the info that made me
> think that swap files were recommended.  I am getting old and do not
> trust my memory that much.  I used this doc,
> (last edited 2009-04-30), or a
> version of it, about a year ago, and set up three machines at home.  All
> are running 8.04 without issues, at least in regards to swap.
> The doc still states that you can't use swap files with hibernation.  We
> don't use hibernation, although I should figure out how to disable it
> completely, just in case.  What would happen if someone tried to
> hibernate with swap files...

Absolutely nothing obvious - unless your system is set to lock the screen 
when suspended/hibernated, in which case it would lock the screen.

It would trigger the hibernate mechanism, all processes would be momentarily 
frozen, it would look for a swap partition, not find one, unfreeze the 
processes and write a failure message to the log.

More information about the ubuntu-users mailing list