[Pm-utils] [RFC] Writing "${HIBERNATE_MODE}" unconditionally to /sys/power/disk
Dan Nicholson
dbn.lists at gmail.com
Tue Mar 18 07:47:22 PDT 2008
On Tue, Mar 18, 2008 at 7:36 AM, Michael Biebl <mbiebl at gmail.com> wrote:
> >
> > How about just defaulting to "shutdown"? True, we might disable the
> > suspend LED, and wake-on-lid probably will not work, but shutdown should
> > work everywhere with no problems. If a user or distro wants "firmware"
> > or "platform" they can modify the defaults accordingly.
>
> I don't have enough information yet to make an educated decision.
> Can't we just accept the default that is set in /sys/power/disk and
> leave HIBERNATE_METHOD commented out by default (and we do nothing if
> -z) ?
> That means, the user would have to intentionally set HIBERNATE_METHOD
> via /etc/pm/config.d and if he does that, he likely knows what he is
> doing?
That would seem like the wiser thing to do, but I don't really now how
the kernel sets the default in /sys/power/disk.
--
Dan
More information about the Pm-utils
mailing list