Author: Nigel Cunningham Date: To: Kenneth Crudup CC: tuxonice-devel Subject: Re: [TuxOnIce-devel] Coming back to TOI after using
pm-hibernatefor a while
Hi.
On Mon, 2008-05-26 at 10:07 -0700, Kenneth Crudup wrote: > Hey, thanks guys. Yeah, I'm back in the ToI fold- but the most frustrating
> part was trying to get everything in the Ubuntu under-the-hood scripts
> ("gnome-power-manager", "hal") to use "hibernate" instead of "pm-hibernate".
>
> While I could have just used the in-kernel ToI automatic replacement for
> swsusp and keep using the "pm-hibernate" script, which is used by all the
> Gnome utilities, I need an extra-pages allowance and I didn't want to do
> the hackery of writing values to /sys/power/tuxonice/... somewhere in the
> boot process[1].
>
> Turns out that after a lot of contemplation, the best way to do is is to
> just mv "pm-hibernate" to "pm-hibernate-orig" and make a symlink from
> "hibernate". (Doh!) Now all the Gnome utils use the ToI way.
>
> -Kenny
>
> [1] - Nigel, it'd be nice to be able to maybe have a compile-time option
> in .config for something one knows they'd have to use all the time