Linux ACPI
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Phillip Susi <psusi@ubuntu.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Disable hibernate -- Live media shouldn't allow it?
Date: Thu, 16 May 2013 00:29:14 +0200	[thread overview]
Message-ID: <1613817.TcdBxdmQtn@vostro.rjw.lan> (raw)
In-Reply-To: <519408C1.9030706@ubuntu.com>

On Wednesday, May 15, 2013 06:14:25 PM Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> When booting from removable media, you may end up mounting a swap
> partition on an internal hard disk, thus enabling hibernation.
> Inadvertently hibernating ( perhaps in response to ACPI HOT event ) is
> silly since the system can not be resumed.  Is there a flag somewhere
> to prevent hibernating?  Shouldn't there be and shouldn't it be
> disabled by default?

I don't think we have a good definition of "removable media".

Also, you usually can remove a normally non-removable disk while hibernated,
so I just don't see why we should disable it in any case.

That said, it is reasonable to expect live CDs not to configure the system to
hibernate in response to overheating etc.  But that's not a problem we can
address in the kernel.

Thanks,
Rafael


-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

  reply	other threads:[~2013-05-15 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15 22:14 Disable hibernate -- Live media shouldn't allow it? Phillip Susi
2013-05-15 22:29 ` Rafael J. Wysocki [this message]
2013-05-15 23:45   ` Phillip Susi
2013-05-16  8:54     ` Rafael J. Wysocki
2013-05-16 13:56       ` Phillip Susi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1613817.TcdBxdmQtn@vostro.rjw.lan \
    --to=rjw@sisk.pl \
    --cc=linux-acpi@vger.kernel.org \
    --cc=psusi@ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox