From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B8136138A3F for ; Sun, 5 Apr 2015 15:13:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9262CE096E; Sun, 5 Apr 2015 15:13:35 +0000 (UTC) Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E3A9E0913 for ; Sun, 5 Apr 2015 15:13:34 +0000 (UTC) Received: by qgdy78 with SMTP id y78so3605240qgd.0 for ; Sun, 05 Apr 2015 08:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZMTBL88Rd1JX1DhqGXF5GEQjZgu0bTqQtArqt5hvWuY=; b=i3jlJwBdKGX1ysEKybbFEVIzrNtVHdDQHyswu0QAlIpoS3YwXdeItZS3BJvn6ICtSu jGYdjReKVj8PCPwCCcaYlEs2FmMe+OK5+2eOgvo3Trwg5ZjpCxGWOmJTvNaw0lRysepb +RcuJtN2es0fXNQIKeZKVObf8Bl86LtKykm6dafjcbWLqAGIPwRT2nySSB8wmLbNuS1/ AgizvdVfGL/ECpeQdga/P5RYRxnEiRdTPS1vNjy4A0JHcDJk7lnOEXywC7Op/sFWI6TY pjCtEXTb2VUicVukSP188KPRPaHDp0TOjoaBwoQpbq/e7bXTGHZtS0h7mRgx6RmEeL7j BWXA== X-Received: by 10.229.96.194 with SMTP id i2mr13108453qcn.1.1428246813918; Sun, 05 Apr 2015 08:13:33 -0700 (PDT) Received: from [192.168.2.5] (adsl-98-95-130-235.jan.bellsouth.net. [98.95.130.235]) by mx.google.com with ESMTPSA id b17sm1286640qka.11.2015.04.05.08.13.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Apr 2015 08:13:32 -0700 (PDT) Message-ID: <5521511B.6060103@gmail.com> Date: Sun, 05 Apr 2015 10:13:31 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: Rich Freeman , Gentoo User Subject: Re: [gentoo-user] Re: How to poweroff the system from user? References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <20150322155852.GA1081@ca.inter.net> <87pp7sqf0b.fsf@heimdali.yagibdah.de> <1887274.L0doMiab5F@navi> <87bnj4nk0n.fsf@heimdali.yagibdah.de> <20150404233707.5ef93454@digimed.co.uk> <5520E3D5.8010608@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: dec6ceca-1104-4bbe-baa6-a2166ad904bc X-Archives-Hash: 6f3af389c759476e772a5ab7edb384c1 Rich Freeman wrote: > On Sun, Apr 5, 2015 at 3:27 AM, Dale wrote: >> Neil Bothwick wrote: >>> On Sat, 04 Apr 2015 14:41:12 +0200, lee wrote: >>> >>>>> On Linux now there's the Magic SysRq Key feature for that. >>>> I always can't remember which keys to press with that, so I have it >>>> disabled. >>> BUSIER backwards. >>> >>>> And when the keyboard is unresponsive, it won't work. >>> It usually does. The kernel sees the Magic key events directly, so even >>> if your X server has crashed, it will still respond to Alt-SysReq. >>> >>> >> I used that on a few puters. I don't recall this ever not working. X >> may not see the keyboard but the kernel does. It's a life saver at >> times too. At least you can sync and unmount cleanly. >> > If you're dealing with a kernel panic of some kind (which you > inevitably are when you are doing this sort of thing), all bets are > off. I'll agree that usually the magic sysrq works. However, there > are certainly going to be cases where it doesn't, or at least where > parts of it don't work. In my case the part that usually fails for me > right now is btrfs, so unmounting won't work anyway (though I guess it > will take care of the ext4 backup partition that is only rarely > touched anyway). > That is true but it seems to work most of the time for the usual failures. Ask some old timers on this list, hitting reset or having to pull the plug from the wall really gets on my nerve, every single one of them and in a hurry. Dare I think about hal and what a mess it caused for me. Dale :-) :-)