Re: Hibernation considerations

From: david
Date: Sun Jul 15 2007 - 15:54:36 EST


On Sun, 15 Jul 2007, Cornelius Riemenschneider wrote:

Hi,
I think a (10) is needed to be clear:

(10) This depends directly on (9)
Easy Userinterface for the average user, no one wants to edit several
files and use a long commandline for a suspend (not all know about
alias(P)), so keeping the effort to suspend your system low, please.(eg
for my TuxOnIce i just type hibernate as root/ sudo hibernate as normal
user and the suspend begin, the rest is automatically done by the
configuration(for me this is shutting down my wireless interface)

Cornelius Riemenschneider

for both #9 and #10, if there are complex command lines that need to be used, they can be put into scripts (including things like 'sudo hibernate')

this doesn't prevent people from useing kernel.org kernels, in fact the seperate between the main system and what's used for hibernation may make it easier to change the main kernel (all that you would need is to enable kexec in your main kernel and 'everything else would just work')

now if you need/want to change out your hibernate kernel you will have to change the hibernate scripts to tell them to use the new kernel. yes this is an extra step, but it can still be simple. for that matter, it may be possible for the distros to agree enough to add 'make install_hibernate' to the kernel makefiles like they have 'make install' that will just 'do the right thing' for each particular distro.

makeing things explicit and flexible may require complex command lines to implement, but nothing says that the user (even a moderatly advanced user) needs to deal with those command lines directly.

David Lang
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/