[PC-BSD Dev] Dev Digest, Vol 62, Issue 1

Curt Dox tigersharke at gmail.com
Fri Mar 1 20:52:43 PST 2013


On Fri, Mar 1, 2013 at 2:00 PM, <dev-request at lists.pcbsd.org> wrote:

> Send Dev mailing list submissions to
>         dev at lists.pcbsd.org
>
> <snip>
>
> ---------- Forwarded message ----------
> From: Luca Ferrari <fluca1978 at infinito.it>
> To: PC-BSD Developer List <dev at lists.pcbsd.org>, njm at njm.me.uk
> Cc:
> Date: Fri, 1 Mar 2013 08:22:39 +0100
> Subject: Re: [PC-BSD Dev] fastboot rc documentation
> Thanks Nick,
> but I was talking about
> - fastboot_enable
> - fastboot_earlyrc
> which are specific to PCBSD (I guess).
>
> Luca
>
> <snip>
>
> ---------- Forwarded message ----------
> From: Kris Moore <kris at pcbsd.org>
> To: dev at lists.pcbsd.org
> Cc:
> Date: Fri, 01 Mar 2013 08:26:46 -0500
> Subject: Re: [PC-BSD Dev] fastboot rc documentation
> On 03/01/2013 02:22, Luca Ferrari wrote:
> > Thanks Nick,
> > but I was talking about
> > - fastboot_enable
> > - fastboot_earlyrc
> > which are specific to PCBSD (I guess).
> >
> > Luca
>
> Luca,
>
> Yes those are specific to PC-BSD. I've not put any formal docs up yet,
> but here's some details:
>
> fastboot_enable - If set to YES, will only start the services listed in
> fastboot_earlyrc before showing a login prompt.
>
> fastboot_earlyrc - List of service files to start before showing a login
> prompt. (Dependencies started automatically)
>
> /var/log/rc_delay.log - Output of services started in the background
>
> Mods are contained in /etc/rc && /etc/rc.delay
>
> <snip>
>
> --
> Kris Moore
> PC-BSD Software
> iXsystems
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/dev
>
>
I have added some detail (highlighted below) to
http://wiki.pcbsd.org/index.php/Booting_Into_PC-BSD%C2%AE#Fast_Boot so that
the wiki now has:

Fast Boot

PC-BSD® uses a "fast boot" script to decrease the amount of time that it
takes the system to boot to the login screen. When this script is enabled,
which is the default, services are started in the background and the boot
process does not wait for confirmation from each service as it starts. This
is referred to as delayed mode.

The fast boot script is controlled by these lines in */etc/rc.conf*:
 fastboot_enable="YES"

fastboot_earlyrc="/etc/rc.d/netif /etc/rc.d/moused /etc/rc.d/dhclient
/etc/rc.d/pf /etc/rc.d/routing /etc/rc.d/devd /usr/local/etc/rc.d/pefs
/usr/local/etc/rc.d/dbus /usr/local/etc/rc.d/hald /usr/local/etc/rc.d/gdm"


   - fastboot_enable - If set to YES, will only start the services listed
   in fastboot_earlyrc before showing a login prompt.


   - fastboot_earlyrc - List of service files to start before showing a
   login prompt. (Dependencies started automatically)


   - /var/log/rc_delay.log - Output of services started in the background

The logfile */var/log/rc_delay.log* shows the startup messages for the
services which were started in delayed mode. If this log indicates that a
delayed mode service is not starting correctly, become the superuser,
remove the path to that service in the *fastboot_earlyrc* line of *
/etc/rc.conf*, and reboot to see if that fixes the problem.

If a faster boot time is not important to you and you prefer to watch each
service as it starts at boot time, you can disable fast boot by changing
the *"YES"* to a *"NO"* in the *fastboot_enable* line of */etc/rc.conf*.

These mods are contained in /etc/rc && /etc/rc.delay.
I hope that this is clear and accurate. Further modification to add detail
or clarity can be done at any time. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/dev/attachments/20130301/914ba80a/attachment.html>


More information about the Dev mailing list