openbsd-misc
[Top] [All Lists]

Re: Switching between system runlevels

To: Andrew Falanga <afalanga@linora.com>
Subject: Re: Switching between system runlevels
From: tolls <tolls@kencaryl.net>
Date: Thu, 28 Feb 2002 14:32:29 -0700
Cc: misc@openbsd.org
In-reply-to: <3C7E5C29.2010502@linora.com>
References: <3C7E5C29.2010502@linora.com>
Sender: owner-misc@openbsd.org
On Thu, 28 Feb 2002 09:34:49 -0700
Andrew Falanga <afalanga@linora.com> wrote:

>        Now, the question at hand.  Is there a way to switch from one
run 
> level to the other without doing a system reboot and entering -s at
the 
> boot prompt?  (Side note, yes, I'm running on the i386
architecture.) 
>  I've been reading through the halt(8), reboot(8), boot_i386(8) man 
> pages but I'm not really finding what I want, and I've tried doing 
> things like 'init <run level>' but all I get is init is already
running. 
>  Evidently, that type of init switching is only supported on SVRxx
type 
> systems?  I hope I've worded that correctly.  Anyway, I'm just 
> wondering.  This type of functionality has been rather valuable to
me 
> lately while troubleshooting Linux systems and I was wondering if
such 
> functionality was supported in OpenBSD.
> 
> Thanks for the help with X too by the way.
> 
> Andy

Andy,

IIRC, I don't believe that OpenBSD uses the same model of runlevels
that linux uses.  Please, someone who's more experienced, correct me
if I'm wrong, because I'm going out on a limb here as far as my
knowledge.  I believe OpenBSD only has basically two runlevels,
multi-user and single user modes.  As opposed to linux which has like
runs levels from 1 to 6.  Like I said this is my best recollection. 
Hope this helps.

James 

<Prev in Thread] Current Thread [Next in Thread>