Re: swsusp: move resume before mounting root [diff against vanilla 2.4.9]

Pavel Machek (pavel@ucw.cz)
Wed, 26 Sep 2001 10:19:14 +0200


Hi!

> Solution for the filesystem problems:
>
> 1. at suspend, basically unmount the filesystem (keep the mount tree)
> 2. at resume, re-validate open files

Wrong solution. ;-).

Solution to filesystem problems: at suspend, sync but don't do
anything more. At resume, don't try to mount anything (so that you
don't replay transactions or damage disk in any other way).
Pavel

-- 
Causalities in World Trade Center: 6453 dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/