Re: [RFC] swap image signature check upon resume

From: Borislav Petkov
Date: Sun Dec 09 2007 - 11:12:42 EST


On Sun, Dec 09, 2007 at 03:27:57PM +0100, Rafael J. Wysocki wrote:
...

> > Instead, I'd rather issue a warning that the swsusp header mismatches, say with
> > which kernel the machine got suspended with and then start the countdown for reboot.
>
> What exactly would that change? You need to reboot anyway and fsck will run on
> the filesystems regardless of which kernel you boot with.

well, you'll have the chance to reboot with the kernel the machine got suspended
with and then the swsusp image header _will_ match so no fsck-ing. or am i
missing something...

--
Regards/Gruß,
Boris.
--
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/