Replacing rc(8) (Was: FreeBSD Boot Times)

RW rwmaillists at googlemail.com
Tue Jun 19 23:15:55 UTC 2012


On Tue, 19 Jun 2012 11:03:31 -0700
Garrett Cooper wrote:

> On Tue, Jun 19, 2012 at 10:51 AM, Wojciech Puchar
> <wojtek at wojtek.tensor.gdynia.pl> wrote:
> >>> grep sleep /etc/rc.d/* usr/local/etc/rc.d/*
> >>
> >> Sleeps in /etc tend to be there for good reasons, and new ones are
> >> vigorously scrutinized. If you see any that you think are dubious,
> >> feel free to mention them on freebsd-rc at .
> >
> > I don't say they are not needed but that they exist.
> > anyway i don't understand sleep 1 after setting default route.
> 
>     Probably working around annoying races in the driver / network /
> routing stack. Please see my previous reply.

There are a few sleeps where some action is performed and and then a
fixed sleep is done, but this is one of the ones where the sleep is
in a while loop - a full second seems a bit long.


More information about the freebsd-hackers mailing list