From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 20 20:28:39 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38968106564A for ; Wed, 20 Jun 2012 20:28:39 +0000 (UTC) (envelope-from drobbins@funtoo.org) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id ABBF98FC18 for ; Wed, 20 Jun 2012 20:28:38 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so7757541wgb.31 for ; Wed, 20 Jun 2012 13:28:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=nGKyhJ+SjUH9R5HytxT9vaLhhvLa2XfdIqntIx8V1Ak=; b=KzWezRlahOJzCQ2+DbTEbBO2W5AODQqAk+OoW82kFXMHwNlx0CtZN4OAcLIz/uPgjE HroDXsSMJOgkHurtUSMjD6k0WMBfPXH2gHow7jAjrxNkJJoC6gCUcFBnm2LnrErt9fvt gdkf96vrlJ2nLJyUmD58eXQlS70i1qFFxD4/ijndM0HbJRRAy2u6BPeaqh0YS4YINeB7 ykn3cr6Cbqzi+aAEYp3EV8MSnlVGlc1yWzXxiV47U7E6DfDmkNdzcfntxtfDqvJAZU0x FgouYOEfG+HrqfKjdsKZHLZAwRa9Et443ClpzhpdAOOu1Eqmk6fwfrgDIVV+5Ij/LJ9G z+8g== MIME-Version: 1.0 Received: by 10.216.50.211 with SMTP id z61mr12255674web.57.1340224117659; Wed, 20 Jun 2012 13:28:37 -0700 (PDT) Received: by 10.180.104.1 with HTTP; Wed, 20 Jun 2012 13:28:37 -0700 (PDT) In-Reply-To: References: <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> <4FDFB44D.9090308@gentoo.org> <4FE0ADCD.9010109@FreeBSD.org> <4FE0C123.8030301@gentoo.org> <4FE0F773.1080403@gentoo.org> <4FE100F9.2050009@funtoo.org> <20120620073920.GA5300@lonesome.com> Date: Wed, 20 Jun 2012 14:28:37 -0600 Message-ID: From: Daniel Robbins To: Michael Ross Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk6WXZPFpfFXzL5FijiAnp9LQD5r7mlwGj5A4s/e96F1WZ1r0LOQh5Cjew1VFG3VRMF4IZ/ X-Mailman-Approved-At: Wed, 20 Jun 2012 21:22:57 +0000 Cc: Wojciech Puchar , "freebsd-hackers@freebsd.org" Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 20:28:39 -0000 On Wed, Jun 20, 2012 at 2:22 PM, Daniel Robbins wrote: > > This doesn't change the "hard" runlevel (3) but it changes the OpenRC > logical runlevel. Basically, this convenient system is compatible with > traditional linux numerical runlevels but does depend on them. > Meant to type: "does NOT depend on them". Here is a bit more info: Runlevel-specific conf.d files: http://www.funtoo.org/wiki/Funtoo_Linux_Networking#Alternate_Configs Stacked runlevels (this is a more sophisticated feature than just creating a duplicate, separately-managed runlevel): http://www.funtoo.org/wiki/Stacked_Runlevels To create a separately-managed runlevel, you would just: # mkdir /etc/runlevels/maintenance # rc-update add maintenance svc1 # rc-update add maintenance svc2 # rc-update add maintenance svc1 You could then switch by typing: # rc maintenance Anything not in the maintenance runlevel that is currently running would be stopped, and any new services in maintenance that are not running would be started. Regards, Daniel