From owner-freebsd-questions@freebsd.org Sun Sep 18 10:23:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3305BD7498 for ; Sun, 18 Sep 2016 10:23:56 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from relay08.nicmail.ru (relay08.nicmail.ru [195.208.6.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A970EE06 for ; Sun, 18 Sep 2016 10:23:55 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from [109.70.25.227] (port=59489 helo=localhost) by f17.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1blZGH-000HLV-55; Sun, 18 Sep 2016 13:23:49 +0300 Received: from [188.123.231.37] (account afiskon@devzen.ru HELO localhost) by proxy05.mail.nic.ru (Exim 5.55) with id 1blZGH-0007i0-Gx; Sun, 18 Sep 2016 13:23:49 +0300 Date: Sun, 18 Sep 2016 13:22:15 +0300 From: Aleksander Alekseev To: Arthur Chance Cc: FreeBSD Questions Subject: Re: Stupid question regarding reboot and poweroff Message-ID: <20160918102215.GA5290@e733> References: <20160918090323.GA69189@e733> <1945dff3-ac29-f07d-0a66-85cec230f45e@qeng-ho.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1945dff3-ac29-f07d-0a66-85cec230f45e@qeng-ho.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2016 10:23:57 -0000 > man shutdown says > > Calling “poweroff” is equivalent to running: > > shutdown -p now > > and they're the same executable hard linked. > > reboot is the same executable as halt. They don't warn logged on users > in the same way as shutdown does. man reboot says > > Normally, the shutdown(8) utility is used when the system needs to be > halted or restarted, giving users advance warning of their > impending doom > and cleanly terminating specific programs. I see. Thank you! -- Best regards, Aleksander Alekseev