Subject: Re: rc local [patches]
To: Joerg Sonnenberger <>
From: Iain Hibbert <>
List: tech-userlevel
Date: 03/19/2007 20:02:25
On Mon, 19 Mar 2007, Joerg Sonnenberger wrote:

> On Mon, Mar 19, 2007 at 04:55:50PM +0000, Iain Hibbert wrote:
> > the assumption is that the problem you are trying to get
> > around is that /usr/pkg is not mounted - so it is useless to
> > have scripts trying to start programs from /usr/pkg/bin
> > anyway..
> (a) The assumption that /usr/pkg is on a separate filesystem is not that
> unlikely to be wrong. Therefore the system should not get in my way of I
> decide to make it part of /

sure, thats why I suggested it would be easy to arrange some shell magic
to configure this concept "pause at ${xx} and reload rc.d list" - if you
need it earlier, just use xx=""

> (b) There are two problems here which need to be distinguished. The
> first is getting the order of scripts correct. This requires that the
> scripts are readable early in the boot.

> A script from pkgsrc might not need anything from /usr/pkg. It might not
> need a writeable / or /usr/pkg.

Ah, so here is the pitfall I was missing .. probably no way around that