Re: [PATCH]: In kernel hibernation, suspend to both

From: Bojan Smojver
Date: Sat Jun 16 2012 - 23:21:48 EST


Borislav Petkov <bp@xxxxxxxxx> wrote:

>Ok, I don't know the hibernation code at all but let me give it a try:
>
>how about teach the piece that parses
>
>$ echo suspend > /sys/power/disk
>
>to make a note to self that we're doing the hibrid hibernation method
>and then the function that prints the progress indicator to be let
>known
>of the aforementioned self-note so that it doesn't do any output?
>
>Purely hypothetical, of course.


Yeah, we already have a variable for that. But, we can just do it simpler - paint one dot every 10% or something, without any backspaces. That will fix it for sure.

--
Bojan
--
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/