svn commit: r314239 - head/rescue/rescue

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Sat Feb 25 10:09:59 UTC 2017


> On Feb 24, 2017, at 23:52, Andriy Gapon <avg at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20170225/9b687d23/attachment-0001.sig>


More information about the svn-src-head mailing list