Re: swsusp: don't eat ide disks

From: Pavel Machek (pavel@ucw.cz)
Date: Thu Nov 07 2002 - 15:52:06 EST


Hi!

> > ACPI wants to enter S4 when user asks it to, and swsusp is the way to
> > do it. When machine overheats, ACPI wants to enter S4 too.
>
> > Of course there should be generic way (and it is, sys_reboot) to enter
> > S4 without asking acpi. echo 4 > /proc/acpi/sleep is just easier for
> > most people.
>
> Why /proc/acpi/sleep ?
>
> Other PM implementations gave us /proc/sys/pm/suspend -- why doesn't ACPI
> use that?

Well, /proc/sys/pm/suspend also does not seem like the right name for
suspend...

I believe sys_reboot() is the right way to do. Perhaps
/proc/acpi/sleep should be killed in favor of that?
                                                                Pavel

-- 
Casualities in World Trade Center: ~3k 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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:49 EST