Subject: Re: etc chains...
To: None <netbsd-users@netbsd.org>
From: Julio Merino <juli@merino.net>
List: netbsd-users
Date: 02/06/2002 17:13:39
--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 05, 2002 at 10:01:20AM -0500, Amitai Schlair wrote:
> "Shannon" <shannon@widomaker.com> wrote:
>=20
> > On Mon, Feb 04, 2002 at 07:24:43PM -0500, Lars Kellogg-Stedman wrote:
> >
> > > I place symlinks to /usr/pkg/etc/rc.d/foo into /etc/rc.d.  This way
> all
> > > the dependency resolving stuff gets taken care of [*], and generally
> seems
> > > cleaner than editing rc.local.
> >
> > Probably right, but it seems like this is something that should be
> > "official".
>=20
> What if /usr is a separate filesystem? The dependency ordering happens
> very early, before all filesystems are mounted (the scripts that mount
> filesystems are in /etc/rc.d!). Scripts stored in /usr/pkg/etc/rc.d
> could well be on an unmounted filesystem when the dependency ordering is
> determined. So they need to be on the root filesystem, somewhere where
> /sbin/rcorder can be sure to find them, to be run properly at boot time.

Yeah, but... what about if you want to NFS export /usr? Clients won't have
startup scripts, though they may need them...

>=20
> - Amitai

--=20
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino (Slink) <juli@merino.net>

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8YVYyzz00ZOPKycwRArR7AJsF8pFdLWIQKwKvYNlR1SOL27jpfACbBE79
UUsm0CVw2UXhVqZn7RZQ6Ww=
=wsWh
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--