Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2017 02:09:54 -0800
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        Ngie Cooper <ngie@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r314239 - head/rescue/rescue
Message-ID:  <0F63A844-8094-4200-ABAD-C0BB60CABF8C@gmail.com>
In-Reply-To: <b89f8414-4853-5b5d-9dab-21d9c957efde@FreeBSD.org>
References:  <201702250311.v1P3B89W008306@repo.freebsd.org> <b89f8414-4853-5b5d-9dab-21d9c957efde@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

> On Feb 24, 2017, at 23:52, Andriy Gapon <avg@FreeBSD.org> wrote:
> 
> On 25/02/2017 05:11, Ngie Cooper wrote:
>> Author: ngie
>> Date: Sat Feb 25 03:11:08 2017
>> New Revision: 314239
>> URL: https://svnweb.freebsd.org/changeset/base/314239
>> 
>> Log:
>>  Add shutdown/poweroff support to rescue(8)
>> 
>>  shutdown is a safer way to power off than reboot (in general), because of
>>  the added shutdown process that it executes via /etc/rc.shutdown . It was
>>  odd that it was missing from rescue(8) since reboot and friends were
>>  added in past commits.
> 
> Just a note that rescue is typically used in situations where rc.shutdown is of
> little use.  E.g., most likely there won't be any daemons running, etc.

Yeah.. or arguably ones of value. I still like the fact that it’s running “service <foo> stop” on /etc/rc.d scripts in reverse to shut things down cleanly, as opposed to reboot(8) which just reboots. This can make a bit of a difference if you just set up a system and still have mount points setup, etc.

But in most cases, yes, I would totally agree.

-Ngie

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYsVf0AAoJEPWDqSZpMIYV0GAP/0cEY2HouAgx5xzPwtE+brBR
eW9QWMTHDA5cjb2ZN8EFnGl7mwY9mxDD+nW6SsXELUwqKmh/Et+REYL5xzOavEIu
47vPKuI+v1YQ60yvAnpaEHCeToT71pJEolJlE0ZEuwFtYdQnnz/EgU74txpYyfxv
BgahG6AocryUXjy5vgqfCEuiDh1V+cOqz9Gkny9j6/z2YsQ45ouJqJnW8N7waBRJ
kMZVNoO8R5dGI77pR+xugRVloPytgtYh1yNFo9P761K/gvtuzxVpFYwM5i5RtD1D
MEIbEhsM4UQ5xiMTn4XefQV+UimN/l/QOjik/S/UDlxuwpOGHgwI7Y+7iV/2zQt5
lyMnN5212OGZNQMj22aJYwKYwgq9F9R1LfRcffomIZTZRYyhqkcBdf+S5b/AKehW
Scgadu0s6vo1LxLpQomYSZ/8/JMjkAAzYrn5ebkksx/KNi8+/S6G35B5/39auQ8V
4Z8ImFPv/jkqosrrT20QNJtz/QEV3my1wMTAfdCJjeNnL+eTX75GXn4Bt+hZhTol
4GpLvRO2U5lhaqUMj3j34JFxjsIC3xpQOxvdQ2cq8a+p3CQp+pBM9DYdiAJVyQX9
wqd3c8oEG0tub1074sBbWN8X94Jf31sNVdtQId94GvSgcrOQ6XavjptHVf6ehab9
vj8IeiUlRc3uHgBduM1m
=fWuv
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0F63A844-8094-4200-ABAD-C0BB60CABF8C>