Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Emergency shutdown, how to?
Date: Wed, 02 Apr 2008 19:19:43
Message-Id: 47F3DC48.3010906@bellsouth.net
In Reply to: Re: [gentoo-user] Emergency shutdown, how to? by Volker Armin Hemmann
1 Volker Armin Hemmann wrote:
2 > On Mittwoch, 2. April 2008, Steven Lembark wrote:
3 >
4 >> Liviu Andronic wrote:
5 >> > On Fri, Mar 28, 2008 at 10:07 AM, Dale <dalek1967@×××××××××.net> wrote:
6 >> >>> By the way the safest and recommended command, although a bit longish
7 >> >>> should be ALT+SysRq(or print)+S(ync)+U(mount)+B(Reboot).
8 >> >>
9 >> >> Since I wanted to shutdown instead of reboot, it would be ALT + SysRq
10 >> >> + S + U + O then correct?
11 >> >
12 >> > Are there any potential harms to the hardware / system in case one
13 >> > tends to abuse (i.e. use more often than necessary) of this command?
14 >> > It's so often so tempting to shut down your system fast.
15 >>
16 >> Short of a serious emergency (e.g., UPS with
17 >> 30-sec lag and no input power) stick with
18 >> 'shutdown -fh now'. The main problem is that
19 >> you bypass the stop phase of all the app's
20 >> started up via init.d; very little short of
21 >> just hitting the reset switch or yanking the
22 >> power.
23 >>
24 >
25 > if you do it the right way, start with 'e' and 'i', all apps are cleanly
26 > terminated/killed. So if an app does not quit cleanly, it is broken.
27 >
28 > The correct sequence is: e,i,u,b/o and it is absolutly save.
29 >
30
31
32 Folks, keep in mind why I asked this question in the first place. My
33 power supply was frying and I needed a VERY fast shutdown. This was not
34 asked as a fast way to shutdown just because we are impatient or
35 something. This was for the event of a serious emergency where I needed
36 a shutdown in just a very few seconds not a minute or two. Some of my
37 services take a while to stop, foldingathome being the longest one.
38
39 Basically, this is not intended to be used to shutdown a puter on a
40 regular basis, unless you burn out P/S's on a daily basis. O-o
41
42 Just didn't want someone to be using this on a regular basis and then
43 wondering why their system has a new nickname, FUBAR. :'(
44
45 Dale
46
47 :-) :-)
48 --
49 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Emergency shutdown, how to? Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Emergency shutdown, how to? Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
Re: [gentoo-user] Emergency shutdown, how to? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Emergency shutdown, how to? Steven Lembark <lembark@×××××××.com>