How to detect single user mode in FreeBSD ?

Polytropon freebsd at edvax.de
Thu Jun 14 16:43:38 UTC 2018


On Thu, 14 Jun 2018 08:38:40 +0100, Steve O'Hara-Smith wrote:
> On Wed, 13 Jun 2018 17:30:29 -0600
> JD <jd1008 at gmail.com> 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... ;-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list