From owner-freebsd-questions@freebsd.org Thu Jun 14 17:07:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04F6C101498A for ; Thu, 14 Jun 2018 17:07:12 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 980C374FE6 for ; Thu, 14 Jun 2018 17:07:11 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id 5159D7180E2 for ; Thu, 14 Jun 2018 12:07:05 -0500 (CDT) Subject: Re: How to detect single user mode in FreeBSD ? To: freebsd-questions@freebsd.org References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> <20180614184329.9646c28a.freebsd@edvax.de> From: Valeri Galtsev Message-ID: <3459f887-8691-6cc6-84e4-1fa77fc66379@kicp.uchicago.edu> Date: Thu, 14 Jun 2018 12:07:05 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180614184329.9646c28a.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 17:07:12 -0000 On 06/14/18 11:43, Polytropon wrote: > On Thu, 14 Jun 2018 08:38:40 +0100, Steve O'Hara-Smith wrote: >> On Wed, 13 Jun 2018 17:30:29 -0600 >> JD wrote: >> >>> To the original poster of this question: >>> Does the command >>> who -r >>> still work in FBSD? >> >> It never did, and still doesn't. > > As FreeBSD doesn't have runlevels (SysV-specific thing), > no command (!) will be able to print one. Maybe this will > change when FreeBSD starts using systemd... ;-) > Which I hope it will not. I already fled away from the mess in one place, would be sad to flee the same mess again. (Of course, I migrated server from Linux to FreeBSD long before systemd and friends era ;-) Valeri > > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++