Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2018 20:38:08 +0530
From:      Manish Jain <>
Subject:   How to detect single user mode in FreeBSD ?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I am writing an fsck wrapper which first needs to check if the system is 
in single user mode.

Under Linux, there appears to be a sysctl that shows whether the system 
is in single user

mode:  sysctl -n kern.singleuser. Is there some similar facility under 
FreeBSD too ?

Thanks for any tips.

Manish Jain

Want to link to this message? Use this URL: <>